19 #ifndef MFXImageHelper_h 20 #define MFXImageHelper_h 40 static FXImage*
loadImage(FXApp* a,
const std::string& file);
41 static FXbool
scalePower2(FXImage* image,
int maxSize = (2 << 29));
42 static FXbool
saveImage(
const std::string& file,
43 int width,
int height, FXColor* data);
static FXbool scalePower2(FXImage *image, int maxSize=(2<< 29))
static FXbool saveImage(const std::string &file, int width, int height, FXColor *data)
static FXImage * loadImage(FXApp *a, const std::string &file)
static void checkSupported(FXString ext)