Home | History | Annotate | Download | only in png

Lines Matching refs:Writer

57 Pure Python PNG Reader/Writer
70 A good place to start is the :class:`Reader` and :class:`Writer` classes.
156 :meth:`Writer.write_packed` method. It isn't usually a convenient
191 __all__ = ['Image', 'Reader', 'Writer', 'write_chunks', 'from_array']
273 """Check a palette argument (to the :class:`Writer` class) for validity.
316 class Writer:
457 # ``Writer(x, y, **info)`` works, where `info` is a dictionary
856 with the parameters set in the writer object. Works for
872 PNG outfile with the parameters set in the writer object.
1137 :class:``png.Writer`` class). For this function the keys that are
1295 w = Writer(**self.info)
2439 string. Creates a :class:`Writer` instance using the keyword arguments,
2440 then passes `rows` to its :meth:`Writer.write` method. The resulting
2449 w = Writer(x, y, **k)
2516 w = Writer(15, 17, greyscale=True, bitdepth=n, chunk_limit=99)
2531 w = Writer(1, 4, greyscale=True, bitdepth=2)
2546 w = Writer(1, 4, bitdepth=2, palette=[a,b,c])
2561 w = Writer(3, 3, bitdepth=4, palette=[a,b,c,d,e])
2702 w = Writer(**info)
2717 w = Writer(**info)
2753 w = Writer(8, 8, greyscale=True, bitdepth=1, transparent=transparent)
2762 as args for :meth:`Writer`.
2766 w = Writer(**info)
2772 w = Writer(16, 2, greyscale=True, alpha=False, bitdepth=1)
3827 writer = Writer(width, height,
3848 writer.convert_ppm_and_pgm(infile, pgmfile, outfile)
3850 writer.convert_pnm(infile, outfile)