summaryrefslogtreecommitdiff
path: root/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-15 04:31:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-15 04:31:33 +0000
commit7873cc212485913449300e31b98cf8f01cfe98c3 (patch)
tree9ecfd6efde9924efaefd2041383d3f51c3bd6c20 /src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
parentb8ad8ae5feb1ff21408f8663de11416cf3a796a6 (diff)
warn-- for new jpect color conversion modes - default case.
SVN revision: 79311
Diffstat (limited to '')
-rw-r--r--src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
index 06705b2acd..64d948f578 100644
--- a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
+++ b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
@@ -622,17 +622,20 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
622 /* GRAYSCLAE => RGB YCbCr => RGB and YCCK => CMYK */ 622 /* GRAYSCLAE => RGB YCbCr => RGB and YCCK => CMYK */
623 switch (cinfo.jpeg_color_space) 623 switch (cinfo.jpeg_color_space)
624 { 624 {
625 case JCS_UNKNOWN: 625 case JCS_UNKNOWN:
626 break; 626 break;
627 case JCS_GRAYSCALE: 627 case JCS_GRAYSCALE:
628 case JCS_RGB: 628 case JCS_RGB:
629 case JCS_YCbCr: 629 case JCS_YCbCr:
630 cinfo.out_color_space = JCS_RGB; 630 cinfo.out_color_space = JCS_RGB;
631 break; 631 break;
632 case JCS_CMYK: 632 case JCS_CMYK:
633 case JCS_YCCK: 633 case JCS_YCCK:
634 cinfo.out_color_space = JCS_CMYK; 634 cinfo.out_color_space = JCS_CMYK;
635 break; 635 break;
636 default:
637 cinfo.out_color_space = JCS_RGB;
638 break;
636 } 639 }
637 640
638/* head decoding */ 641/* head decoding */