1 #ifndef _library__png__hpp__included__
2 #define _library__png__hpp__included__
10 struct png_decoded_image
13 png_decoded_image(std::istream
& file
);
14 png_decoded_image(const std::string
& file
);
18 std::vector
<uint32_t> data
;
19 std::vector
<uint32_t> palette
;
21 void decode_png(std::istream
& file
);
24 struct png_encodedable_image
26 png_encodedable_image();
32 std::vector
<uint32_t> data
;
33 std::vector
<uint32_t> palette
;
34 void encode(const std::string
& file
) const;
35 void encode(std::ostream
& file
) const;