42 static const FXchar fileExt[];
43 static const FXchar mimeType[];
47 FXJP2Icon(
FXApp *a,
const FXuchar *pix=
nullptr,FXColor clr=FXRGB(192,192,192),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);
static const FXbool supported
True if format is supported.
Definition: FXJP2Icon.h:50
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
void setQuality(FXint q)
Set image quality to save with.
Definition: FXJP2Icon.h:53
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
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
JPEG-2000 Icon class.
Definition: FXJP2Icon.h:32
FXint getQuality() const
Get image quality setting.
Definition: FXJP2Icon.h:56