write_image
- ubyte write_image(char[] fname, int w, int h, ubyte[] buf, int reqchans)
- ubyte write_image(int fmt, FILE* f, int w, int h, ubyte[] buf, int reqchans)
- ubyte write_image(int fmt, Write io, int w, int h, ubyte[] buf, int reqchans)
@nogc nothrow
ubyte
write_image
imagefmt
modulesaliasesenumsfunctionsmanifest constantsstructsvariables
Returns 0 on success, else an error code. Assumes RGB order for color components in buf, if present.