[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9992 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9992 - Extractor/src/plugins |
Date: |
Wed, 13 Jan 2010 17:04:51 +0100 |
Author: grothoff
Date: 2010-01-13 17:04:51 +0100 (Wed, 13 Jan 2010)
New Revision: 9992
Modified:
Extractor/src/plugins/thumbnailqt_extractor.cc
Log:
initially scale down fast
Modified: Extractor/src/plugins/thumbnailqt_extractor.cc
===================================================================
--- Extractor/src/plugins/thumbnailqt_extractor.cc 2010-01-13 15:34:11 UTC
(rev 9991)
+++ Extractor/src/plugins/thumbnailqt_extractor.cc 2010-01-13 16:04:51 UTC
(rev 9992)
@@ -133,6 +133,11 @@
* Qt's scaled() produces poor quality if the image is resized to less than
* half the size. Therefore, we resize the image in multiple steps.
* http://lists.trolltech.com/qt-interest/2006-04/msg00376.html */
+ while ( (width > 32*THUMBSIZE) || (height > 32*THUMBSIZE) )
+ {
+ width /= 2;
+ height /= 2;
+ }
while ( (width > THUMBSIZE) || (height > THUMBSIZE) )
{
width /= 2;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9992 - Extractor/src/plugins,
gnunet <=