warn-- for new jpect color conversion modes - default case.

SVN revision: 79311
This commit is contained in:
Carsten Haitzler 2012-11-15 04:31:33 +00:00
parent b8ad8ae5fe
commit 7873cc2124
1 changed files with 14 additions and 11 deletions

View File

@ -622,17 +622,20 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
/* GRAYSCLAE => RGB YCbCr => RGB and YCCK => CMYK */
switch (cinfo.jpeg_color_space)
{
case JCS_UNKNOWN:
break;
case JCS_GRAYSCALE:
case JCS_RGB:
case JCS_YCbCr:
cinfo.out_color_space = JCS_RGB;
break;
case JCS_CMYK:
case JCS_YCCK:
cinfo.out_color_space = JCS_CMYK;
break;
case JCS_UNKNOWN:
break;
case JCS_GRAYSCALE:
case JCS_RGB:
case JCS_YCbCr:
cinfo.out_color_space = JCS_RGB;
break;
case JCS_CMYK:
case JCS_YCCK:
cinfo.out_color_space = JCS_CMYK;
break;
default:
cinfo.out_color_space = JCS_RGB;
break;
}
/* head decoding */