43 static const FXchar fileExt[];
44 static const FXchar mimeType[];
51 static const bool supported;
54 virtual bool loadPixels(
FXStream& store);
57 virtual bool savePixels(
FXStream& store)
const;
char FXchar
Definition: fxdefs.h:380
unsigned int FXuint
Definition: fxdefs.h:389
#define FXAPI
Definition: fxdefs.h:122
Application Object.
Definition: FXApp.h:158
bool fxsavePNG(FXStream &store, const FXColor *data, FXint width, FXint height)
Save an PNG (Portable Network Graphics) file to a stream.
#define NULL
Definition: fxdefs.h:41
bool fxloadPNG(FXStream &store, FXColor *&data, FXint &width, FXint &height)
Load an PNG (Portable Network Graphics) file from a stream.
FXuint FXColor
Definition: fxdefs.h:447
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
bool fxcheckPNG(FXStream &store)
Check if stream contains a PNG, return TRUE if so.
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
Portable Network Graphics (PNG) Image class.
Definition: FXPNGImage.h:35
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92