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

Andi Clemens andi.clemens at gmx.net
Thu Apr 9 09:45:12 CEST 2009


--- Comment #66 from Andi Clemens <andi clemens gmx net>  2009-04-09 09:45:05 ---
(In reply to comment #29)
> You have right. a copy of image data need to be paste to lqr library. It's not
> optimum, but there is no other way for the moment, i think...


why not introduce some flag to the DImg object that prevents the destructor
from clearing the image data?
There might be some other libraries in the future that free the image data by
themselves (OpenCV) and so we would have to create a copy all the time we such
a library. This will be a waste of memory, especially when processing RAW?

We could set a flag (bool autoClearData = true), and when we use a lib that
frees the data by itself, we just set the flag to false.


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