Bug 339686 - Krita does not support pass-through composite op.
Summary: Krita does not support pass-through composite op.
Status: RESOLVED DUPLICATE of bug 185448
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: 2.9 Beta
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-04 23:31 UTC by ncarrasco2006
Modified: 2015-01-12 15:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This is an example of a PSD file that is displayed different when imported in Krita. (65.51 KB, image/vnd.adobe.photoshop)
2014-10-04 23:37 UTC, ncarrasco2006
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ncarrasco2006 2014-10-04 23:31:16 UTC
Hi,

I have the following problem with Krita 2.8 and latest available development build.

I import a photoshop PSD file.

PSD file:

Group 1 Blend Mode: Pass Through.
	"layer A" Blend Mode: Multiply . Opacity 60% 
“Group 2” Blend Mode: Pass Through 
	"layer B" Blend Mode: Multiply . Opacity 100% 

When the PSD file in imported in Krita, 

Group 1 Blend Mode: Normal.
	"layer A" Blend Mode: Multiply . Opacity 60% 
“Group 2” Blend Mode: Normal 
	"layer B" Blend Mode: Multiply . Opacity 100% 


Note that the blend mode of the Groups is changed when it is imported in Krita, I don't know if Krita supports Pass Through Blend mode or an equivalent.


Reproducible: Always

Steps to Reproduce:
1. Create a PSD File with the following layer configuration:
Group 1 Blend Mode: Pass Through.
	"layer A" Blend Mode: Multiply . Opacity 60% 
“Group 2” Blend Mode: Pass Through 
	"layer B" Blend Mode: Multiply . Opacity 100% 

2. Open it in Krita
It will have this configuration:

Group 1 Blend Mode: Normal.
	"layer A" Blend Mode: Multiply . Opacity 60% 
“Group 2” Blend Mode: Normal 
	"layer B" Blend Mode: Multiply . Opacity 100% 

Actual Results:  
When the file is opened, it is changed the Blend mode of the Group Layers from phtoshop Pass Through to Normal.

Expected Results:  
It is expected that the imported PSD file has the same configuration that Photoshop or at least an equivalent that has the same image render.
Comment 1 ncarrasco2006 2014-10-04 23:37:20 UTC
Created attachment 88971 [details]
This is an example of a PSD file that is displayed different when imported in Krita.
Comment 2 Halla Rempt 2014-10-05 10:48:15 UTC
The issue is that Krita doesn't support the pass-through composite mode. It's simply not implemented yet -- and because of the way krita differs from photoshop in some essential ways, it's not that easy to implement.
Comment 3 ncarrasco2006 2014-10-05 19:51:36 UTC
Hi,

I have some thoughts regarding this issue,

1) As I understand is simply equivalent to have no groups and the layers for the previous example are in this configuration right? :

Group 1 Blend Mode: Pass Through.
	"layer A" Blend Mode: Multiply . Opacity 60% 
“Group 2” Blend Mode: Pass Through 
	"layer B" Blend Mode: Multiply . Opacity 100% 

Equivalent:
"layer A" Blend Mode: Multiply . Opacity 60% 
"layer B" Blend Mode: Multiply . Opacity 100% 

2) To my understanding Blend type: "Pass Through." is the default blend type that has photoshop for groups, and it is very natural since when we would like to have groups as logical groups that is the way it is handled. 

Thanks
Comment 4 Dmitry Kazakov 2014-10-17 15:41:12 UTC
Hi, ncarrasco2006!

The point is Photoshop doesn't support tree-like layer structures, as far as I know. Krita works with layer tree, which means that if you have, say, arm in a layer group, and the arm has ten layers, the group will not be recalculated every time you change other groups (say, body or foot). To support Pass-through mode we just need to implement an option for it. This might take up to a couple of weeks of work, so probably, we will make it during the next donation/kickstarter campaign.
Comment 5 ncarrasco2006 2014-10-17 15:44:06 UTC
Ok, nice to hear that!
Comment 6 Halla Rempt 2015-01-12 15:22:19 UTC

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