Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24644 → Rev 24645

/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_psd.cpp
204,7 → 204,7
{
s = (QRgb*)(m_imageInfoRecord.exifInfo.thumbnail.scanLine( yit ));
d = r_image.scanLine( yit );
for (int xit =0 ; xit < m_imageInfoRecord.exifInfo.thumbnail.width(); ++xit)
for (int xit = 0; xit < m_imageInfoRecord.exifInfo.thumbnail.width(); ++xit)
{
if (isCMYK)
{
/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
283,7 → 283,7
if (yt > (uint) image->height())
break;
if (image->height()-yt < rows)
tileH = image->height()-yt;
tileH = image->height() - yt;
tileW = columns;
uint32_t yi;
int chans = image->channels();
292,7 → 292,7
TIFFReadTile(tif, tile_buf, xt, yt, 0, 0);
for (yi = 0; yi < tileH; yi++)
{
_TIFFmemcpy(image->scanLine(yt+(tileH-1-yi))+xt, tile_buf+tileW*yi, tileW*chans);
_TIFFmemcpy(image->scanLine(yt + (tileH - 1 - yi)) + xt, tile_buf + tileW * yi, tileW * chans);
}
}
}