25#include "common/scummsys.h"
26#include "common/textconsole.h"
27#include "graphics/palette.h"
28#include "graphics/pixelformat.h"
29#include "image/image_decoder.h"
32class SeekableReadStream;
68 void setSkipSignature(
bool skip) { _skipSignature = skip; }
69 void setKeepTransparencyPaletted(
bool keep) { _keepTransparencyPaletted = keep; }
79 bool _keepTransparencyPaletted;
80 bool _hasTransparentColor;
81 uint32 _transparentColor;
Simple class for handling a palette data.
Definition: palette.h:61
Definition: image_decoder.h:53
const Graphics::Palette & getPalette() const override
Definition: png.h:65
bool hasTransparentColor() const override
Definition: png.h:66
uint32 getTransparentColor() const override
Definition: png.h:67
const Graphics::Surface * getSurface() const override
Definition: png.h:64
bool loadStream(Common::SeekableReadStream &stream) override
bool writePNG(Common::WriteStream &out, const Graphics::Surface &input, const Graphics::Palette &palette)
Definition: algorithm.h:29
Definition: formatinfo.h:28