JpegSubsampling

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.

Values

ValueMeaning
Y_ONLY0
H1V11
H2V12
H2V23

Meta