#include <reader.hpp>
Inheritance diagram for png::reader:
Public Member Functions | |
reader (std::istream &stream) | |
Constructs a reader prepared to read PNG image from a stream. | |
~reader () | |
void | read_png () |
Reads the whole PNG data stream into memory. Not particularly useful. | |
void | read_info () |
Reads info about PNG image. | |
void | read_row (byte *bytes) |
Reads a row of image data at a time. | |
void | read_end_info () |
Reads endinig info about PNG image. | |
void | update_info () |
png::reader::reader | ( | std::istream & | stream | ) | [inline, explicit] |
png::reader::~reader | ( | ) | [inline] |
void png::reader::read_png | ( | ) | [inline] |
Reads the whole PNG data stream into memory. Not particularly useful.
void png::reader::update_info | ( | ) | [inline] |