mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-03-12 10:52:48 +01:00
update color space used
This commit is contained in:
parent
49407ac7c2
commit
59e8257f12
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user