write_image

Undocumented in source. Be warned that the author may not have intended to support it.
void
write_image
(
in char[] filename
,
long w
,
long h
,
in ubyte[] data
,
int req_chans = 0
)

Meta