45 static const FXchar fileExt[];
53 static const bool supported;
56 void setQuality(
FXint q){ quality=q; }
59 FXint getQuality()
const {
return quality; }
62 virtual bool savePixels(FXStream& store)
const;
65 virtual bool loadPixels(FXStream& store);
JPEG Icon class.
Definition: FXJPGIcon.h:35
bool fxloadJPG(FXStream &store, FXColor *&data, FXint &width, FXint &height, FXint &quality)
Load an JPEG (Joint Photographics Experts Group) file from a stream.
char FXchar
Definition: fxdefs.h:387
unsigned int FXuint
Definition: fxdefs.h:396
#define FXAPI
Definition: fxdefs.h:122
Application Object.
Definition: FXApp.h:158
#define FXRGB(r, g, b)
Make RGB color.
Definition: fxdefs.h:579
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
int FXint
Definition: fxdefs.h:397
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:45
bool fxcheckJPG(FXStream &store)
Check if stream contains a JPG, return TRUE if so.
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
bool fxsaveJPG(FXStream &store, const FXColor *data, FXint width, FXint height, FXint quality)
Save an JPEG (Joint Photographics Experts Group) file to a stream.