GNOME Bugzilla – Bug 705895
Losing layers groups when export to PSD
Last modified: 2017-08-21 09:46:12 UTC
Created attachment 251459 [details] Losing layers groups when export to PSD When I export project with groups of layers, I lose all data about single layers in this groups (1 group becomes 1 layer). But when I open an original Photoshop project, GIMP see all the groups. (2.8/2.82/2.84/2.86)
Most likely true for all GIMP versions, including master, but I can't verify. Thus bug, however, is not "critical" to GIMP's working - let's leave it as normal until someone dealing with PSD files come along to the issue.
We have improved PSD support in a SoC git branch.
Layer groups now export and import fine in master.
Problem still exists (at Windows versions at least). I've tried 2.8.18 now and nightly build of newest 2.9 branch.
Well, it's not surprising that 2.8 still has it - new features go into the development branch. Can you attach a PSD file exported from the 2.9 you're using?
Can't attach it because of size limit, so uploaded it to google drive: https://goo.gl/BpFHKr Original XCF was created in 2.8 version. Then I've tried to create new 2.9 project with 2-3 simple layer groups and export it to PSD. Result is same. Thank you for fast response!
If you create a new XCF file anyway, you can create one that is small enough to attach.
err, PSD file
This 2.9 build is kinda portable, so is it possible that it takes some settings from installed 2.8 version? Don't have a possibility to run it on clear OS. Attaching the file to topic
Created attachment 337138 [details] PSD export (2.9 version used)
Was there supposed to have layer groups in this PSD? Because importing in GIMP, I see indeed none. Is anyone with PSD knowledge willing to investigate this bug before 2.10?
GIMP 2.9.5 PPA Save .XCF, there are layer group. Export .PSD, in GIMP and then open, layer group merged. Color-Tag can be displayed. No Photoshop open it test!
*** Bug 783694 has been marked as a duplicate of this bug. ***
*** Bug 779049 has been marked as a duplicate of this bug. ***
I confirm comment 12 with GIMP master. Steps: - Create new image. - Add a group with layers in it. - export to PSD. - import back this PSD. Result: the layer group contents has been merged into a single bitmap layer. This means there is an issue either in export or import. Since I have imported successfully a PSD with layer groups from another bug report, and considering this report description, I assume the issue happens at export.
Commit e40ebde53673afde19b1f54058393944d1b5582f has fixed this bug. I just tested it and it seems that grouping is working fine. Thanks Ell!
Thanks for testing :) Let's close this bug. commit e40ebde53673afde19b1f54058393944d1b5582f Author: Ell <ell_se@yahoo.com> Date: Sun Aug 20 16:37:25 2017 -0400 plug-ins: in file-psd, add support for exporting layer groups Preserve layer-group structure when exporting to PSD, instead of flattening the groups. Fix active-layer index saving (the index was reversed.) plug-ins/file-psd/psd-save.c | 312 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------- 1 file changed, 224 insertions(+), 88 deletions(-)