42 static const FXchar fileExt[];
43 static const FXchar mimeType[];
47 FXJP2Image(
FXApp *a,
const FXuchar *pix=
nullptr,FXuint opts=0,FXint w=1,FXint h=1,FXint q=100);
59 virtual FXbool savePixels(
FXStream& store)
const;
62 virtual FXbool loadPixels(
FXStream& store);
75 extern FXAPI FXbool fxcheckJP2(FXStream& store);
83 extern FXAPI FXbool fxloadJP2(FXStream& store,FXColor*& data,FXint& width,FXint& height,FXint& quality);
89 extern FXAPI FXbool fxsaveJP2(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
static const FXbool supported
True if format is supported.
Definition: FXJP2Image.h:50
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
JPEG-2000 Image class.
Definition: FXJP2Image.h:32
Definition: FX4Splitter.h:28
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
void setQuality(FXint q)
Set image quality to save with.
Definition: FXJP2Image.h:53
FXint getQuality() const
Get image quality setting.
Definition: FXJP2Image.h:56