Bug 397610

Summary: Problem to render greyscale PSD thumbnails
Product: [Applications] digikam Reporter: aral33
Component: Plugin-DImg-QImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, kdelibs-bugs, metzpinguin, mircomir
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.8.0
Attachments: sample greyscale PSD written by GIMP 2.10.4

Description aral33 2018-08-19 09:43:29 UTC
Created attachment 114490 [details]
sample greyscale PSD written by GIMP 2.10.4

1. open a picture in GIMP, Photoshop or any picture editor
2. change its color mode to greyscale
3. save it as a PSD in your image directory
4. start digikam
5. digikam does not show the picture and even sometimes hangs
Comment 1 caulier.gilles 2018-08-19 09:50:31 UTC
Forcing to refresh the thumbnails with F5 do not show the right image color depth ?

Gilles Caulier
Comment 2 Maik Qualmann 2018-08-19 09:56:36 UTC
Gimp-2.10 is not yet supported by the QImage plug-ins of KF5, which we use to load Gimp files. DigiKam does not have a built-in PSD file loader.

Maik
Comment 3 caulier.gilles 2018-08-19 10:17:11 UTC
MAik,

KF5::KIMageFormats has a PSD loader. So it can be buguous. Look in source code:

https://cgit.kde.org/kimageformats.git/tree/src/imageformats

KF5::KIMageFormats XCF loader is not updated since a while. there are already some files in bugzilla here :

https://bugs.kde.org/show_bug.cgi?id=380382
https://bugs.kde.org/show_bug.cgi?id=362484
https://bugs.kde.org/show_bug.cgi?id=360821
https://bugs.kde.org/show_bug.cgi?id=215009

I move this file to KF5::KIMageFormats about to improve PSD support

Gilles Caulier
Comment 4 Mirco Miranda 2022-07-04 11:04:19 UTC
Should be solved by MR !56 (https://invent.kde.org/frameworks/kimageformats/-/merge_requests/56)
Comment 5 caulier.gilles 2022-07-04 13:03:53 UTC
Hi Mirco,

The patch will be included in KF5 5.95 or 5.96 ?

Gilles Caulier
Comment 6 Mirco Miranda 2022-07-04 13:19:39 UTC
(In reply to caulier.gilles from comment #5)
> Hi Mirco,
> 
> The patch will be included in KF5 5.95 or 5.96 ?
> 
> Gilles Caulier

I suppose KF 5.95 because It was merged 3 months ago.
Comment 7 caulier.gilles 2022-07-04 13:29:56 UTC
Ok thanks. I reassign to digiKam and we will take a look for a feedback from end users.

Gilles Caulier
Comment 8 caulier.gilles 2022-07-04 13:32:35 UTC
Aral33,

The problem with the grayscale PSD thumbnails in digiKam must be fixed with the release 7.7.0.

MacOS package is available here :

https://download.kde.org/stable/digikam/7.7.0/

Please check if problem remain on your computer (don't forget to force application to rebuild thumbnails of course).

Best

Gilles Caulier
Comment 9 caulier.gilles 2022-07-06 06:01:01 UTC
I confirm that Grayscale PSD support is now fixed using KF5 5.95. Look my screenshot of digiKam 7.8.0 under macOS:

https://i.imgur.com/hh9zX0H.png

Gilles Caulier