r13835 by jghali - #8329: CMYK images look strange when exported as PDF

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 10 21:15:29 CEST 2009


Revision: 13835
Author: jghali
Date: 2009-08-10T19:15:13.189413Z
Commit message: #8329: CMYK images look strange when exported as PDF

Changeset: 
M  /branches/Version133x/Scribus/scribus/pdflib.cpp

Diffs:
Index: scribus/pdflib.cpp
===================================================================
--- scribus/pdflib.cpp	(revision 13834)
+++ scribus/pdflib.cpp	(revision 13835)
@@ -5313,7 +5313,12 @@
 			img.imgInfo.RequestProps = c->pixm.imgInfo.RequestProps;
 			img.imgInfo.isRequest = c->pixm.imgInfo.isRequest;
 			if (Options.UseRGB)
-				img.LoadPicture(fn, Profil, Intent, Embedded, true, ScImage::RGBData, 72, &realCMYK);
+			{
+				//#8329 : using realCMYK is meaningless here, when making a ScImage::RGBData request, 
+				//returned data will always be rgb
+				//img.LoadPicture(fn, Profil, Intent, Embedded, true, ScImage::RGBData, 72, &realCMYK);
+				img.LoadPicture(fn, Profil, Intent, Embedded, true, ScImage::RGBData, 72);
+			}
 			else
 			{
 #ifdef HAVE_CMS




More information about the scribus-commit mailing list