write_image

Writes an image to file.

void
write_image
(
in char[] file
,
long w
,
long h
,
in ubyte[] data
,
long req_chans = 0
)

Meta