After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795693 - GIMP doesn't enable visibility of vector layers in PSD
GIMP doesn't enable visibility of vector layers in PSD
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.10.0
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-04-30 12:03 UTC by Alexandre Prokoudine
Modified: 2018-05-01 06:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample PSD file (693.49 KB, image/vnd.adobe.photoshop)
2018-04-30 12:03 UTC, Alexandre Prokoudine
Details
How the original PSD file looks in Photoshop (90.02 KB, image/png)
2018-04-30 12:04 UTC, Alexandre Prokoudine
Details

Description Alexandre Prokoudine 2018-04-30 12:03:51 UTC
Created attachment 371546 [details]
sample PSD file

GIMP renders vector layers as bitmap layers, but forgets setting visibility flag to them.
Comment 1 Alexandre Prokoudine 2018-04-30 12:04:50 UTC
Created attachment 371547 [details]
How the original PSD file looks in Photoshop
Comment 2 Ell 2018-05-01 06:53:12 UTC
The PSD spec is as terse as ever, but this should do the trick:

commit 474e27b27a4a74e94d996f8c8b0176dcfc42f0ca
Author: Ell <ell_se@yahoo.com>
Date:   Tue May 1 02:44:01 2018 -0400

    Bug 795693 - GIMP doesn't enable visibility of vector layers in PSD
    
    In the file-psd plug-in, ignore the 'irrelevant' flag of layers
    when loading PSD files; in particular, don't hide such layers
    unconditionally.  The 'irrelevant' flag seems to indicate that the
    layer's content can be entirely derived without using the layer's
    pixel data, and not that the layer itself it irrelevant.

 plug-ins/file-psd/psd-load.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)