43 static const FXchar fileExt[];
44 static const FXchar mimeType[];
51 virtual bool savePixels(
FXStream& store)
const;
54 virtual bool loadPixels(
FXStream& store);
char FXchar
Definition: fxdefs.h:380
unsigned int FXuint
Definition: fxdefs.h:389
#define FXAPI
Definition: fxdefs.h:122
Portable Pixmap Image.
Definition: FXPPMImage.h:35
Application Object.
Definition: FXApp.h:158
bool fxsavePPM(FXStream &store, const FXColor *data, FXint width, FXint height)
Save an PPM (Portable Pixmap Format) file to a stream.
#define NULL
Definition: fxdefs.h:41
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 fxcheckPPM(FXStream &store)
Check if stream contains a PPM, return TRUE if so.
bool fxloadPPM(FXStream &store, FXColor *&data, FXint &width, FXint &height)
Load an PPM (Portable Pixmap Format) file from a stream.
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92