mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-08-29 23:32:06 +02:00
update color space used
This commit is contained in:
2
wvnc.c
2
wvnc.c
@@ -91,7 +91,7 @@ int jpeg_compress(uint8_t *buff, int w, int h, int bytes, int quality)
|
|||||||
switch (bytes)
|
switch (bytes)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
cinfo.in_color_space = JCS_RGB;
|
cinfo.in_color_space = JCS_EXT_RGB;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
cinfo.in_color_space = JCS_EXT_RGBA;
|
cinfo.in_color_space = JCS_EXT_RGBA;
|
||||||
|
Reference in New Issue
Block a user