[Digikam-devel] [Bug 233094] libpgf relevant : thumbnails blurry (when scaling) on PowerPC platform (big-endian)

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Apr 14 21:21:44 BST 2010


https://bugs.kde.org/show_bug.cgi?id=233094





--- Comment #18 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-04-14 22:20:44 ---
Referring to this code?
void ThumbnailLoadThread::slotThumbnailLoaded(const LoadingDescription&
description, const QImage& thumb)

        pix = QPixmap(w + 2, h + 2);
        QPainter p(&pix);
        p.setPen(QPen(Qt::black, 1));
        p.drawRect(0, 0, w + 1, h + 1);
        p.drawImage(1, 1, thumb);

The pixmap is created two pixels larger than the loaded thumbnail. No scaling
is done here.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list