[Digikam-devel] [Bug 195583] First start-up migrating from 0.9.5 is _very_ slow

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Dec 7 18:20:15 GMT 2009


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





--- Comment #14 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-07 19:20:11 ---
Copying from 215458:

 ------- Comment #3 From  Marcel Wiesweg   2009-11-27 18:16:08  (-) [reply]
-------  
Gilles, part of the problem is that we load the full JPEG200 image when
scanning, because libjasper does not support just reading the header. My
proposed short-term solution is to _not_ load the whole image, instead do not
scan color format and rely on exiv2 to retrieve width and height for JPEG2k
images.

Long term we should evaluate OpenJPEG, I dont know about the status of this
project, but I read Krita's Cyrille Berger is developing a loader based on this
library.

 ------- Comment #4 From  Gilles Caulier   2009-11-27 18:22:34  (-) [reply]
-------  
I'm agree to not load full JP2 image during scanning.

OpenJPEG is not the only way to solve this problem. In Exiv2 a future new image
info container will be created to get physical informations about the image

JP2 is already supported by Exiv2. I know... I have writen this image format
support (:=)))

Another very important information about Exiv2 is the availablity of image
width and height info. These properties can be already extracted using Exiv2
(look Exiv2::Image method). Libkexiv2 must be adapted as well. It's simple to
do...

About OpenJPEG, i know that libray is lesser fast than Jasper, but tlike this
last one sound like unmainted, OpenJPEG must be the right way to use for the
far future...

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