Summary: | Also on OpenSuse, the error occurs. Can you please give me a hint what to do? | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Robert <presse.wissen> |
Component: | DImg-Plugins | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, kde, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.2.0 | |
Sentry Crash Report: |
Description
Robert
2009-11-20 18:20:53 UTC
please install the debug packges and paste the new crash log This is JPEG2000 stuff. It sound like you have a JP2 file on your computer and libjasper go out violently. There is nothing to do in digiKam core. libjasper do not generate an exception. It's a shame. Gilles Caulier 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. 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... Gilles Gilles SVN commit 1059937 by mwiesweg: Disable scanning of images with libjasper. This means that width, height, and color format will not be available. At least width and height are available from exiv2, but Image::pixelWidth() and pixelHeight() are not used in libkexiv2. So for now, the dimensions are only avaiable for when there is Exif information. CCBUG: 215458 CCBUG: 195583 M +17 -0 jp2kloader.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1059937 The crash should no longer happen now. Newly created is the bug that scanning image information from JPEG2000 images is disabled. Merging with 195583. *** This bug has been marked as a duplicate of bug 195583 *** Fixed with bug #195583 |