40 static const FXchar fileExt[];
41 static const FXchar mimeType[];
45 FXWEBPImage(
FXApp *a,
const FXuchar *pix=
nullptr,FXuint opts=0,FXint w=1,FXint h=1);
51 virtual FXbool savePixels(
FXStream& store)
const;
54 virtual FXbool loadPixels(
FXStream& store);
67 extern FXAPI FXbool fxcheckWEBP(
FXStream& store);
75 extern FXAPI FXbool fxloadWEBP(
FXStream& store,FXColor*& data,FXint& width,FXint& height);
81 extern FXAPI FXbool fxsaveWEBP(
FXStream& store,
const FXColor* data,FXint width,FXint height,FXfloat quality);
static const FXbool supported
True if format is supported.
Definition: FXWEBPImage.h:48
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
Definition: FX4Splitter.h:28
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
Google WebP Image class.
Definition: FXWEBPImage.h:32