Home | History | Annotate | Download | only in png

Lines Matching refs:idat

365           Write multiple ``IDAT`` chunks to save memory.
452 memory, multiple ``IDAT`` chunks may be created.
723 # http://www.w3.org/TR/PNG/#11IDAT
804 write_chunk(outfile, 'IDAT', compressed)
817 write_chunk(outfile, 'IDAT', compressed + flushed)
1686 'Wrong size for decompressed IDAT chunk.')
1703 file up to the start of the ``IDAT`` chunk. All the chunks that
1704 precede the ``IDAT`` chunk are read and either processed for
1718 'This PNG file has no IDAT chunks.')
1719 if self.atchunk[1] == 'IDAT':
1880 """Iterator that yields all the ``IDAT`` chunks as strings."""
1889 if type != 'IDAT':
1891 # type == 'IDAT'
1892 # http://www.w3.org/TR/PNG/#11IDAT
1894 warnings.warn("PLTE chunk is required before IDAT chunk")
1897 def iterdecomp(idat):
1898 """Iterator that yields decompressed strings. `idat` should
1899 be an iterator that yields the ``IDAT`` chunk data.
1903 # routine will do one yield per IDAT chunk. So not very
1906 # Each IDAT chunk is passed to the decompressor, then any
1908 for data in idat:
2810 if chunk[0] != 'IDAT':
2820 if chunk[0] != 'IDAT':
2839 if chunk[0] != 'IDAT':