Writes a JPEG image to a file or stream. num_channels must be 1 (Y), 3 (RGB), 4 (RGBA), image pitch must be width*num_channels. note that alpha will not be stored in jpeg file.
See Implementation
Writes a JPEG image to a file or stream. num_channels must be 1 (Y), 3 (RGB), 4 (RGBA), image pitch must be width*num_channels. note that alpha will not be stored in jpeg file.