29#ifndef PT_GFX_PNGREADER_H
30#define PT_GFX_PNGREADER_H
32#include <Pt/Gfx/Api.h>
69 void attach(std::istream& is, Image& image);
93 Image*
advance(std::streamsize importSize = 0);
100 class PngReaderImpl* _impl;
void attach(std::istream &is, Image &image)
Attach to target stream and image.
PngReader()
Default Constructor.
Image & get()
Reads the whole image from the stream.
Image * advance(std::streamsize importSize=0)
Reads image data from the target stream.
PngReader(std::istream &is, Image &image)
Construct with target stream and image.
void detach()
Detach from target stream.
void reset()
Reset to begin new decompression.
Graphics and imaging services.
Definition Api-Argb32Image.h:12
Core module.
Definition Allocator.h:33