☰
DDOCs
FLTK:IMAGES
v1.3.12
/
fltk.core.images
/
fltk_image_d
🔍
☾
fltk_image_d
fn
int fltk_image_d(
FltkImage
image)
extern(C)
nothrow
@nogc
Gets the image depth (bytes per pixel).
Parameters
image
The image handle
Returns
Depth (1=mono, 2=gray+alpha, 3=RGB, 4=RGBA), or 0 if invalid