35 Fl_PNG_Image (
const char *name_png,
const unsigned char *buffer,
int datasize);
38 void load_png_(
const char *name_png,
int offset,
const unsigned char *buffer_png,
int datasize);
43FL_EXPORT
int fl_write_png(
const char *filename,
Fl_RGB_Image *img);
44FL_EXPORT
int fl_write_png(
const char *filename,
const char *pixels,
int w,
int h,
int d=3,
int ld=0);
45FL_EXPORT
int fl_write_png(
const char *filename,
const unsigned char *pixels,
int w,
int h,
int d=3,
int ld=0);
Fl_Image, Fl_RGB_Image classes.
The Fl_ICO_Image class supports loading, caching, and drawing of Windows icon (.ico) files.
Definition Fl_ICO_Image.H:27
int w() const
Returns the current image drawing width in FLTK units.
Definition Fl_Image.H:131
int ld() const
Returns the current line data size in bytes.
Definition Fl_Image.H:156
int h() const
Returns the current image drawing height in FLTK units.
Definition Fl_Image.H:137
int d() const
Returns the image depth.
Definition Fl_Image.H:151
The Fl_PNG_Image class supports loading, caching, and drawing of Portable Network Graphics (PNG) imag...
Definition Fl_PNG_Image.H:30
The Fl_RGB_Image class supports caching and drawing of full-color images with 1 to 4 channels of colo...
Definition Fl_Image.H:339