[Digikam-devel] [Bug 149485] Advanced image resize for the digikam editor

Gilles Caulier caulier.gilles at gmail.com
Thu Apr 16 11:22:58 BST 2009


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





--- Comment #89 from Gilles Caulier <caulier gilles gmail com>  2009-04-16 12:22:51 ---
to Julien Pontabry,

Additional info for #84 :

With your new preview widget which support preservation masks, you need to work
like this to format/pass masks to lqr :

* From digkam thread :

1/ For preview widget get QPixmap mask.
2/ Convert it to QImage.
3/ Pass QImage reference to LQR thread. Note : Do not pass QPIxmap to a
separate thread, it device depand class, it will not work.

* In LQR thread :

1/ Resize QImage to right dimensions if final rendering is require. For preview
we don't care. You can play in a separate thread with QImage, this class is
re-entrant.
2/ Scan all pixels from QImage mask and create a formatted array for lqr
library.

Gilles Caulier

-- 
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