25 #include "common/scummsys.h" 26 #include "common/textconsole.h" 27 #include "graphics/pixelformat.h" 28 #include "image/image_decoder.h" 31 class SeekableReadStream;
62 void destroy()
override;
64 const byte *
getPalette()
const override {
return _palette; }
68 void setSkipSignature(
bool skip) { _skipSignature = skip; }
69 void setKeepTransparencyPaletted(
bool keep) { _keepTransparencyPaletted = keep; }
74 uint16 _paletteColorCount;
80 bool _keepTransparencyPaletted;
81 bool _hasTransparentColor;
82 uint32 _transparentColor;
Definition: image_decoder.h:52
bool hasTransparentColor() const override
Definition: png.h:66
uint32 getTransparentColor() const override
Definition: png.h:67
uint16 getPaletteColorCount() const override
Definition: png.h:65
Definition: algorithm.h:29
Definition: formatinfo.h:28
bool writePNG(Common::WriteStream &out, const Graphics::Surface &input, const byte *palette=nullptr)
const byte * getPalette() const override
Definition: png.h:64
const Graphics::Surface * getSurface() const override
Definition: png.h:63
Definition: movie_decoder.h:32