summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/slave/jpeg_slave.cpp
authoralwin <alwin>2004-11-10 23:41:17 (UTC)
committer alwin <alwin>2004-11-10 23:41:17 (UTC)
commita57e46d9b290712fa1ff106a1be133f4f9751a96 (patch) (side-by-side diff)
treef590e58a0fd1adf01522f596e02ff99eef69e9fe /noncore/graphics/opie-eye/slave/jpeg_slave.cpp
parent660b61a7f8b9fb885226507d7f6716ab2dcedbb8 (diff)
downloadopie-a57e46d9b290712fa1ff106a1be133f4f9751a96.zip
opie-a57e46d9b290712fa1ff106a1be133f4f9751a96.tar.gz
opie-a57e46d9b290712fa1ff106a1be133f4f9751a96.tar.bz2
removed a lot of debug messages
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.cpp3
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
@@ -180,18 +180,15 @@ QPixmap JpegSlave::pixmap( const QString& path, int wid, int hei) {
/*
*/
if ( !ImageInfo.scan( path ) || ImageInfo.isNullThumbnail() ) {
QImage img;
QImageIO iio( path, 0l );
if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) {
- odebug << "Scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()
- << " to "<<wid<<"x"<<hei<< " ("<<path<<")"<<oendl;
QString str = QString( "Fast Shrink( 4 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei );
iio.setParameters( str.latin1() );// will be strdupped anyway
} else {
- odebug << "Not scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()<< " ("<<path<<")"<<oendl;
}
img = iio.read() ? iio.image() : QImage();
return ThumbNailTool::scaleImage( img, wid,hei );
}else{
QImage img = ImageInfo.getThumbnail();
return ThumbNailTool::scaleImage( img, wid,hei );