Diffstat (limited to 'noncore/graphics/opie-eye/slave/jpeg_slave.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/slave/jpeg_slave.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/slave/jpeg_slave.cpp b/noncore/graphics/opie-eye/slave/jpeg_slave.cpp index 668ad13..0f41359 100644 --- a/noncore/graphics/opie-eye/slave/jpeg_slave.cpp +++ b/noncore/graphics/opie-eye/slave/jpeg_slave.cpp | |||
@@ -183,12 +183,9 @@ QPixmap JpegSlave::pixmap( const QString& path, int wid, int hei) { | |||
183 | QImage img; | 183 | QImage img; |
184 | QImageIO iio( path, 0l ); | 184 | QImageIO iio( path, 0l ); |
185 | if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) { | 185 | if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) { |
186 | odebug << "Scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight() | ||
187 | << " to "<<wid<<"x"<<hei<< " ("<<path<<")"<<oendl; | ||
188 | QString str = QString( "Fast Shrink( 4 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei ); | 186 | QString str = QString( "Fast Shrink( 4 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei ); |
189 | iio.setParameters( str.latin1() );// will be strdupped anyway | 187 | iio.setParameters( str.latin1() );// will be strdupped anyway |
190 | } else { | 188 | } else { |
191 | odebug << "Not scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()<< " ("<<path<<")"<<oendl; | ||
192 | } | 189 | } |
193 | img = iio.read() ? iio.image() : QImage(); | 190 | img = iio.read() ? iio.image() : QImage(); |
194 | return ThumbNailTool::scaleImage( img, wid,hei ); | 191 | return ThumbNailTool::scaleImage( img, wid,hei ); |