42 static const FXchar fileExt[];
43 static const FXchar mimeType[];
47 FXJPGIcon(
FXApp *a,
const FXuchar *pix=
nullptr,FXColor clr=FXRGB(192,192,192),FXuint opts=0,FXint w=1,FXint h=1,FXint q=75);
59 virtual FXbool savePixels(
FXStream& store)
const;
62 virtual FXbool loadPixels(
FXStream& store);
75 extern FXAPI FXbool fxcheckJPG(FXStream& store);
83 extern FXAPI FXbool fxloadJPG(FXStream& store,FXColor*& data,FXint& width,FXint& height,FXint& quality);
89 extern FXAPI FXbool fxsaveJPG(FXStream& store,
const FXColor* data,FXint width,FXint height,FXint quality);
JPEG Icon class.
Definition: FXJPGIcon.h:32
void setQuality(FXint q)
Set image quality to save with.
Definition: FXJPGIcon.h:53
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
FXint getQuality() const
Get image quality setting.
Definition: FXJPGIcon.h:56
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
static const FXbool supported
True if format is supported.
Definition: FXJPGIcon.h:50