Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 10141 → Rev 10140

/trunk/Scribus/scribus/pdflib_core.cpp
6289,7 → 6289,7
}
int cm = Options.CompressMethod;
bool specialCMYK = false;
if (extensionIndicatesJPEG(ext) && (cm != 3))
if (((ext == "jpg") || (ext == "jpeg")) && (cm != 3))
{
if (((Options.UseRGB || Options.UseProfiles2) && (cm == 0) && (c->effectsInUse.count() == 0) && (img.imgInfo.colorspace == 0)) && (!img.imgInfo.progressive) && (!((Options.RecalcPic) && (Options.PicRes < (qMax(72.0 / c->imageXScale(), 72.0 / c->imageYScale()))))))
{