Summary: | Option "Create separate separation from alpha channel" creates black rectangle. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | some dude <20cv7guq5bkp> |
Component: | General | Assignee: | wolthera <griffinvalley> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley, halla |
Priority: | NOR | ||
Version: | 4.4.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/9005f1b8e590b272ae6b0c8ef05c4f40a8c4ded4 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | test file |
Description
some dude
2021-03-11 15:49:54 UTC
I cannot reproduce that here, I get a layer with the non-transparent pixels in gray and the transparent pixels black, as expected. Could you attach your test image? Created attachment 136590 [details]
test file
Added the test file. It contains the source layer and the separation result. Alpha layer contains opaque rectangle. UPD: This happens if "Output to color, not grayscale" is checked. if unchecked, the alpha layer is correct. Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. With the test file, I am getting the alpha channel correctly, so I think it may have gotten fixed. If you can still reproduce it on Krita 5.0 or later, don't hesitate to reopen this report. (In reply to wolthera from comment #6) > With the test file, I am getting the alpha channel correctly, so I think it > may have gotten fixed. If you can still reproduce it on Krita 5.0 or later, > don't hesitate to reopen this report. Reproduced it in Krita 5.0 beta Separate Image -> Current Layer Create separate separation from alpha channel Output to color, not grayscale = produces black rectangle instead of alpha channel Then we'll need more information, as it works for me on KDE Neon based on Ubuntu 20.04 :/ No, wait, the color bit is the devil. Git commit 5d81078e29d71b5cce6f104ecbc84385eecb4036 by Wolthera van Hövell tot Westerflier. Committed on 15/09/2021 at 14:39. Pushed by woltherav into branch 'krita/5.0'. Use grayscale code path for alpha in image separation. The color code sets alpha to opaque, and the result of the grayscale code seems to be what is expected in this case. M +8 -8 plugins/extensions/separate_channels/kis_channel_separator.cc https://invent.kde.org/graphics/krita/commit/5d81078e29d71b5cce6f104ecbc84385eecb4036 Git commit 9005f1b8e590b272ae6b0c8ef05c4f40a8c4ded4 by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier. Committed on 15/09/2021 at 14:41. Pushed by woltherav into branch 'master'. Use grayscale code path for alpha in image separation. The color code sets alpha to opaque, and the result of the grayscale code seems to be what is expected in this case. (cherry picked from commit 5d81078e29d71b5cce6f104ecbc84385eecb4036) M +8 -8 plugins/extensions/separate_channels/kis_channel_separator.cc https://invent.kde.org/graphics/krita/commit/9005f1b8e590b272ae6b0c8ef05c4f40a8c4ded4 |