28 #ifndef WINTERMUTE_BASE_IMAGE_H 29 #define WINTERMUTE_BASE_IMAGE_H 31 #include "graphics/surface.h" 32 #include "graphics/pixelformat.h" 34 #include "common/endian.h" 35 #include "common/str.h" 36 #include "common/stream.h" 44 class BaseFileManager;
51 bool getImageInfo(
const Common::String &filename, int32 &width, int32 &height);
56 const byte *getPalette()
const {
59 uint16 getPaletteCount()
const {
63 bool saveBMPFile(
const char *filename)
const;
64 void copyFrom(
const Graphics::Surface *surface,
int newWidth = 0,
int newHeight = 0, byte flip = 0);
74 bool getImageInfoBMP(
const Common::String &filename, int32 &width, int32 &height);
75 bool getImageInfoTGA(
const Common::String &filename, int32 &width, int32 &height);
76 bool getImageInfoPNG(
const Common::String &filename, int32 &width, int32 &height);
77 bool getImageInfoJPG(
const Common::String &filename, int32 &width, int32 &height);
Definition: image_decoder.h:53
Definition: base_image.h:45
Definition: base_file_manager.h:39
Definition: movie_decoder.h:32
Definition: achievements_tables.h:27