Bug 185299 - Implement pass-through mode for layer groups like Photoshop: was unwanted effect when blending layers that contains alpha bits
Summary: Implement pass-through mode for layer groups like Photoshop: was unwanted eff...
Status: RESOLVED DUPLICATE of bug 185448
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 05:32 UTC by Elián Hanisch
Modified: 2010-01-20 22:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
layer blending example (151.68 KB, application/x-krita)
2009-02-23 05:34 UTC, Elián Hanisch
Details
comparison between krita 1.6 and krita 2.0 (197.39 KB, image/png)
2009-02-23 05:37 UTC, Elián Hanisch
Details
irc discussion about the layer groups recomposition issue (6.92 KB, text/plain)
2009-03-23 12:27 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elián Hanisch 2009-02-23 05:32:28 UTC
Version:           svn trunk (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Krita seems to not blend correctly layers with alpha bits when they're inside a layer group (or when the "background" has alpha bits), this is very notorious in krita2.0 but it is present in 1.6 as well in a lesser degree, so in krita2.0 there's probably a combination of different issues.

I created this example kra file in k1.6 for ilustrate it, and a jpg comparing the same file opened by k1.6 and k2.0, and a mock up I made with ps for show (as I understand) what I expect to see.
Comment 1 Elián Hanisch 2009-02-23 05:34:37 UTC
Created attachment 31560 [details]
layer blending example
Comment 2 Elián Hanisch 2009-02-23 05:37:28 UTC
Created attachment 31561 [details]
comparison between krita 1.6 and krita 2.0
Comment 3 Cyrille Berger 2009-02-23 09:07:44 UTC
SVN commit 930361 by berger:

fix: recomposition of a group of layer with transparent bits

This is a partial fix for 185299, Krita wasn't forgetting previous composition.
CCBUG:185299


 M  +1 -0      kis_group_layer.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=930361
Comment 4 Halla Rempt 2009-03-23 12:26:32 UTC
After discussion it seems that the problem here is that Photoshop does not composite the layers inside a group separately on a transparent background, but on top of the composition result as it is when it encounters the group. I will attach the discussion log. This bug is reclassified as "wish" for a pass-through recomposition mode.
Comment 5 Halla Rempt 2009-03-23 12:27:29 UTC
Created attachment 32352 [details]
irc discussion about the layer groups recomposition issue
Comment 6 Halla Rempt 2009-03-23 13:15:06 UTC
See also:

13:10:25 < m4v> boud: about Bug 185299, I already created a wish for a pass-throgh mode in http://bugs.kde.org/show_bug.cgi?id=185448
13:10:27 < bugbot> KDE bug 185448 in krita (general) "pass-through blending mode for layer groups" [Wishlist,Unconfirmed]
13:10:29 < bugbot> KDE bug 185299 in krita (general) "Implement pass-through mode for layer groups like Photoshop: was unwanted effect when
                   blending layers that contains alpha bits" [Wishlist,New] http://bugs.kde.org/show_bug.cgi?id=185299
13:12:45 < boud> m4v: ah, ok
13:12:50 < m4v> boud: and besides adding pass-through mode, you also need some way for mask transparent pixels for complete 185299
13:12:51 < boud> m4v: I had forgotten about that
13:13:06 < m4v> I filled that wish too Bug 185445
13:13:09 < bugbot> KDE bug 185445 in krita (general) "select opaque pixels feature" [Wishlist,Unconfirmed]
                   http://bugs.kde.org/show_bug.cgi?id=185445
13:13:11 < boud> I just remembered & retrieved the irc discussion to preserve it for posterity
Comment 7 Halla Rempt 2010-01-20 22:10:23 UTC
See also: 185448

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