r17012 by fschmid - Fixed Bug 7921: "Image Effects Preview is not color managed"

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 23 11:19:12 UTC 2011


Author: fschmid
Date: Wed Nov 23 11:19:12 2011
New Revision: 17012

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17012
Log:
Fixed Bug 7921: "Image Effects Preview is not color managed"

Modified:
    trunk/Scribus/scribus/ui/effectsdialog.cpp

Modified: trunk/Scribus/scribus/ui/effectsdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17012&path=/trunk/Scribus/scribus/ui/effectsdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/effectsdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/effectsdialog.cpp Wed Nov 23 11:19:12 2011
@@ -48,9 +48,13 @@
 	effectsList = currItem->effectsInUse;
 	doc = docc;
 	currentOptions = 0;
+
+//	CMSettings cms(docc, "", Intent_Perceptual);
+//	cms.allowColorManagement(false);
 	bool mode = false;
-	CMSettings cms(docc, "", Intent_Perceptual);
-	cms.allowColorManagement(false);
+	CMSettings cms(doc, currItem->IProfile, currItem->IRender);
+	cms.setUseEmbeddedProfile(currItem->UseEmbedded);
+	cms.allowSoftProofing(true);
 	image.loadPicture(currItem->Pfile, currItem->pixm.imgInfo.actualPageNumber, cms, ScImage::RGBData, 72, &mode);
 	int ix = image.width();
 	int iy = image.height();




More information about the scribus-commit mailing list