read_image_info

Returns width, height and color format information via w, h and chans. If number of channels is unknown chans is set to zero, otherwise chans values map to those of ColFmt.

void
read_image_info
(
in char[] file
,
out int w
,
out int h
,
out int chans
)

Meta