29 #ifndef PT_GFX_PNGWRITER_H
30 #define PT_GFX_PNGWRITER_H
32 #include <Pt/Gfx/Api.h>
81 class PngWriterImpl* _impl;
Core module.
Definition: pt-gfx-images.dox:14
PngWriter(std::ostream &is)
Construct with target stream.
void beginWrite(const Image &image)
Begin compression of an image.
PngWriter()
Default Constructor.
bool advance()
Advance compression af an image, returns true when finished.
void detach()
Detach from target stream.
Writer for PNG images.
Definition: PngWriter.h:42
Basic image.
Definition: Image.h:52
void write(const Image &image)
Writes the whole image to the stream.
void attach(std::ostream &is)
Attach to target stream.
void reset()
Reset to begin new compression.