fltk_image_copy

fnFltkImage fltk_image_copy(FltkImage image, int w, int h)

Creates a copy of the image, optionally scaled.

Parameters

imageThe source image
wNew width (0 = same as original)
hNew height (0 = same as original)

Returns

New image handle, or null on failure