1 #ifndef _library__png__hpp__included__
2 #define _library__png__hpp__included__
15 decoder(std::istream
& file
);
16 decoder(const std::string
& file
);
20 std::vector
<uint32_t> data
;
21 std::vector
<uint32_t> palette
;
23 void decode_png(std::istream
& file
);
34 std::vector
<uint32_t> data
;
35 std::vector
<uint32_t> palette
;
36 void encode(const std::string
& file
) const;
37 void encode(std::ostream
& file
) const;