read_image_info

Returns basic info about an image. If number of channels is unknown chans is set to zero.

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

Meta