Summary: | PSD files cannot be viewed. Thumbnails are OK. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Joeri <joeri.peeters> |
Component: | Preview-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, metzpinguin |
Priority: | NOR | ||
Version: | 7.1.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/019a64a6fad38b73ae1e93f888c97300f0e69e92 | Version Fixed In: | 7.2.0 |
Sentry Crash Report: | |||
Attachments: | Screenshot of error message |
Please make the PSD file available, if not publicly then as a private mail. Unfortunately there are hardly any PSD sample files to be found on the web. Maik Thank you for the PSD test image. We could do a quick fix and load the image with the ImageMagick Loader. But I see progress with the QImage Loader which uses the KImageformat plugins. In my Linux KF5 version, 8 bit loading of the PSD image is already supported. In the current KF5 version which Gilles uses for the digiKam-7.20.Beta2 Windows bundle, it is correctly recognized as a 16 bit image by the QImage Loader. But due to a bug in the conversion to our internal DImg format, a crash occurs. I think we can fix the loading of the PSD 16 bit images shortly. Maik Git commit 8e1a9ea9f88559ae5a9ca762135ab77845aaa78d by Maik Qualmann. Committed on 16/12/2020 at 16:54. Pushed by mqualmann into branch 'master'. fix QImage Loader 16 bit support and crash M +29 -28 core/dplugins/dimg/qimage/dimgqimageloader.cpp M +1 -0 core/dplugins/dimg/qimage/dimgqimageloader.h https://invent.kde.org/graphics/digikam/commit/8e1a9ea9f88559ae5a9ca762135ab77845aaa78d A new test version of digiKam-7.2.0-Beta2 that contains the change is available at https://files.kde.org/digikam/. The PSD image is now displayed, except for the background (transparent). The display is the same in all programs that the KImageFormat plugins use. The problem should therefore be reported to the developers of the KImageFormat plugins with the image as an example. For the time being we will switch to the ImageMagick Loader for PSD. Maik Newer versions of ImageMagick also show the test image without a background. The test image has an alpha channel that fades out the background. Programs like Gimp and Krita seem to ignore the alpha channel. I'm also adding this workaround. My collection of PSD files is not very large. At the moment I don't see any problems and your test image is showing correctly. We'll keep an eye on it. Maik Git commit 019a64a6fad38b73ae1e93f888c97300f0e69e92 by Maik Qualmann. Committed on 18/12/2020 at 21:04. Pushed by mqualmann into branch 'master'. ignore the alpha channel in PSD files FIXED-IN: 7.2.0 M +2 -1 NEWS M +4 -3 core/dplugins/dimg/qimage/dimgqimageloader.cpp https://invent.kde.org/graphics/digikam/commit/019a64a6fad38b73ae1e93f888c97300f0e69e92 *** Bug 439527 has been marked as a duplicate of this bug. *** |
Created attachment 134094 [details] Screenshot of error message SUMMARY STEPS TO REPRODUCE 1. Select a photoshop file (PSD extension) 2. 3. OBSERVED RESULT error message: Failed to load image EXPECTED RESULT Show image SOFTWARE/OS VERSIONS Windows: Windows 10. Version 2004(OS BUILD 19041.685) macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION