r21037 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 24 23:10:15 UTC 2016


Author: jghali
Date: Wed Feb 24 23:10:15 2016
New Revision: 21037

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21037
Log:
#13757: CMYK jpeg file not imported properly

Modified:
    branches/Version14x/Scribus/scribus/scimgdataloader_jpeg.cpp

Modified: branches/Version14x/Scribus/scribus/scimgdataloader_jpeg.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21037&path=/branches/Version14x/Scribus/scribus/scimgdataloader_jpeg.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scimgdataloader_jpeg.cpp	(original)
+++ branches/Version14x/Scribus/scribus/scimgdataloader_jpeg.cpp	Wed Feb 24 23:10:15 2016
@@ -398,7 +398,7 @@
 		if (cinfo.output_components == 4)
 		{
 			int method = 0;
-			if (cinfo.jpeg_color_space == JCS_YCCK)
+			if ((cinfo.jpeg_color_space == JCS_YCCK) || (cinfo.out_color_space == JCS_CMYK))
 				method = 1;
 			else if (fromPS)
 			{




More information about the scribus-commit mailing list