42 static const FXchar fileExt[];
43 static const FXchar mimeType[];
47 FXJPGImage(
FXApp *a,
const FXuchar *pix=
nullptr,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);
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
void setQuality(FXint q)
Set image quality to save with.
Definition: FXJPGImage.h:53
Definition: FX4Splitter.h:28
static const FXbool supported
True if format is supported.
Definition: FXJPGImage.h:50
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
JPEG Image class.
Definition: FXJPGImage.h:32
FXint getQuality() const
Get image quality setting.
Definition: FXJPGImage.h:56