update color space used

This commit is contained in:
DanyLE 2022-08-17 22:19:33 +02:00
parent 49407ac7c2
commit 59e8257f12

2
wvnc.c
View File

@ -91,7 +91,7 @@ int jpeg_compress(uint8_t *buff, int w, int h, int bytes, int quality)
switch (bytes)
{
case 2:
cinfo.in_color_space = JCS_RGB;
cinfo.in_color_space = JCS_EXT_RGB;
break;
case 4:
cinfo.in_color_space = JCS_EXT_RGBA;