r23928 by jghali - Revert changes committed by error
scribus-commit
scribus-commit at lists.scribus.net
Fri Jul 17 16:01:48 UTC 2020
Author: jghali
Date: Fri Jul 17 16:01:48 2020
New Revision: 23928
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23928
Log:
Revert changes committed by error
Modified:
trunk/Scribus/scribus/pdflib_core.cpp
Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23928&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Fri Jul 17 16:01:48 2020
@@ -10724,12 +10724,12 @@
// We can't unfortunately use directly cmyk jpeg files. Otherwise we have to use the /Decode argument in image
// dictionary, which we do not quite want as this argument is simply ignored by some rips and software
// amongst which photoshop and illustrator
- else if (((!Options.UseRGB) && (!Options.isGrayscale) && (!Options.UseProfiles2)) && (cm == PDFOptions::Compression_Auto) && (item->effectsInUse.count() == 0) && (img.imgInfo.colorspace == ColorSpaceCMYK) && (!((Options.RecalcPic) && (Options.PicRes < (qMax(72.0 / item->imageXScale(), 72.0 / item->imageYScale()))))) && (!img.imgInfo.progressive))
+ /*else if (((!Options.UseRGB) && (!Options.isGrayscale) && (!Options.UseProfiles2)) && (cm == PDFOptions::Compression_Auto) && (item->effectsInUse.count() == 0) && (img.imgInfo.colorspace == ColorSpaceCMYK) && (!((Options.RecalcPic) && (Options.PicRes < (qMax(72.0 / item->imageXScale(), 72.0 / item->imageYScale()))))) && (!img.imgInfo.progressive))
{
jpegUseOriginal = false;
exportToCMYK = true;
cm = PDFOptions::Compression_JPEG;
- }
+ }*/
else if (compress_method == PDFOptions::Compression_JPEG)
{
if (realCMYK || !((Options.UseRGB) || (Options.UseProfiles2)))
More information about the scribus-commit
mailing list