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 760859 - PSD loader fails to recognize Screen mode
PSD loader fails to recognize Screen mode
Status: RESOLVED DUPLICATE of bug 604715
Product: GIMP
Classification: Other
Component: Plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-01-19 19:06 UTC by Alexandre Prokoudine
Modified: 2016-03-28 01:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
quick hack (2.35 KB, patch)
2016-01-20 11:21 UTC, Massimo
none Details | Review

Description Alexandre Prokoudine 2016-01-19 19:06:04 UTC
The report comes from another user who was too shy to file it himself :)

Here's the original PSD file (caution: 400MB large):

http://212.45.26.150:5000/fbsharing/tvKiD2g8

Here's comparison between rendering in Krita 2.9.x and GIMP 2.9.2:

http://wstaw.org/m/2016/01/19/plasma-desktopPR4839.png

GIMP loads everything inside the TEXTURES group of layers in Normal mode, while those layers should really be in the Screen mode.

Haven't tried this in 2.8, hence choosing git master for Version.
Comment 1 Massimo 2016-01-20 11:21:32 UTC
Created attachment 319437 [details] [review]
quick hack

If I understand the problem, GIMP has one kind of
layer groups whereas psd files have 2.

Krita has a pass-through group layer attribute that
GIMP is missing.

My guess is that layers in a pass-through group are
only graphically grouped, but rendered as part of the
parent stack.

If that's the case, without adding such a feature to GIMP
it is possible to simulate it adding two empty layer groups
to mark the start and end of the group which is no longer
collapsable, but the rendered image is hopefully closer
to the intentions.

Attached a quick hack tested only on this image, don't know
if it does the right thing or works with nested groups
Comment 2 Alexandre Prokoudine 2016-01-20 15:22:20 UTC
We might need the pass-through mode anyway. MyPaint 1.2.0 has it, and so have newer OpenRaster files apparently.
Comment 3 Massimo 2016-01-20 18:59:46 UTC
(In reply to Alexandre Prokoudine from comment #2)
> We might need the pass-through mode anyway. MyPaint 1.2.0 has it, and so
> have newer OpenRaster files apparently.

Just to understand pass-through mode means non-isolated groups?
and currently GIMP only has isolated groups?


https://www.w3.org/TR/compositing-1/#isolatedgroups

and

http://www.freedesktop.org/wiki/Specifications/OpenRaster/Draft/LayersStack/

under 'Compositing the image'
Comment 4 Massimo 2016-01-22 12:53:33 UTC
(In reply to Alexandre Prokoudine from comment #2)
> We might need the pass-through mode anyway. MyPaint 1.2.0 has it, and so
> have newer OpenRaster files apparently.

Reading

https://bugzilla.gnome.org/show_bug.cgi?id=604715

it seems the issue was already discussed. Perhaps
that bug could be reopened as an enhancement request.

Meanwhile the question is: the psd (and perhaps the ora)
plug-in should inline layers in a non isolate group in 
the parent stack or preserve the tree structure?
Comment 5 Michael Natterer 2016-03-28 01:19:58 UTC
Yep, reopened the original bug.

*** This bug has been marked as a duplicate of bug 604715 ***