fltk_image_d

fnint fltk_image_d(FltkImage image) extern(C) nothrow @nogc

Gets the image depth (bytes per pixel).

Parameters

imageThe image handle

Returns

Depth (1=mono, 2=gray+alpha, 3=RGB, 4=RGBA), or 0 if invalid