Summary: | Blur brush mixes colour with white when near the edge of image | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | kalia24 |
Component: | Brush engines | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | dimula73, ghevan, griffinvalley, halla |
Priority: | NOR | Keywords: | triaged |
Version: | 4.4.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
kalia24
2018-12-03 19:33:14 UTC
Hi, thanks for the report. It's the default pixel, actually, but I think this is a very complex bug to resolve either how. Just as note - using Blur effect on a non-white layer also causes blurred white borders to appear and I'm kinda sure it wasn't always like this. If there was some update that changed blur algorithm(s), maybe the answer to the problem is somewhere there? The way krita works when you paint in the offcanvas area is to paint "behind" the gray area. you can see how this is a problem working on background layers and Blending. 1. Create new image and delete the top layer 2. Fill background with a non color white 3. Use move tool and reveal white. 4. to avoid white. Select Rectangular tool and use an eraser brush to fillover the gray area near the edge. 5 Now blend and you should get alpha not white as blended color. What to do now? generate some content in that border. When painting just paint outside in the gray area so you put pixel data outside the border. If a complex image is already done: Mirror your edge contents or grow a copy of your image to fill those edges. 1. Duplicate current layer 2. Scale duplicated to grow over the edge a little. 3. Set dublipated layer below 4. Merge both layers. Well, it is not actually white that is blended into the layer. It is **transparency**, which is dragged from the outer area of the image. That is, you just start seeing the background layer through the blended area. To fix the issue you should uncheck this option: Brush Editor -> Smudge Length -> Smear Alpha With this option unchecked the brush works as expected in the report. Question for all: Do we want to change the default brush preset to fix that in 5.0, or we'd better just write about that in the manual? I see, but then no alpha is smeared at all - when smearing the image content is what I'd like to be able to do (especially when blending background blur on the egdes). So I still find it a bug - with "alpha" instead of "white" then. Hi, kalia24!
> To fix the issue you should uncheck this option:
> Brush Editor -> Smudge Length -> Smear Alpha
Could you please check this solution? It should fix the issue for you (I've just checked)
Or you want to have both things at the same time, smear alpha channel and not having blends on the border of the image?
Nope, it doesn't. It's not alpha that causes the issue - I can smear the white into the visible canvas with the "Smear Alpha" inactive and paint on it while the layer has alpha locked. So it's a solid white colour, no alpha in question. Update - it concerns only the "Background" layer, other layers have "pure alpha" beyond the visible canvas. 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. Hi, kalia24!
> Update - it concerns only the "Background" layer
Perhaps you just shouldn't use background layer for painting then? When creating the image you can choose whether to pre-fill the layer with the default color or set the canvas color. I mean, the brush works in a way how we expected it to work and there is a way how to overcome the issue very easily (create a new layer and deactivate "smear alpha" in the brush). I don't think I can do any more about that.
Okay, I will close this bug as "intentional". There is a quick fix for it: just don't use background layer for painting with transparency. Create a new layer and paint on it. |