Bug 410516 - SAI Luminosity blending mode makes blocky edges
Summary: SAI Luminosity blending mode makes blocky edges
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.2.4
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Tiar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-02 13:09 UTC by acc4commissions
Modified: 2022-05-17 11:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Capture (18.09 KB, image/jpeg)
2019-08-02 13:09 UTC, acc4commissions
Details
Screenshot with new Luminosity stroke (left) and original stroke (right) (2.69 KB, image/png)
2019-08-02 15:17 UTC, Tiar
Details
Capture 2 (61.58 KB, image/jpeg)
2019-08-02 15:48 UTC, acc4commissions
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2019-08-02 13:09:06 UTC
Created attachment 121900 [details]
Capture

SUMMARY

STEPS TO REPRODUCE
1. Draw something with 'normal' brush blending mode.
2. Draw something over that image, on the same layer, with 'Luminosity/Shine (SAI)' brush blending mode.

OBSERVED RESULT
Stair-like edges appears on the first image (drawn with 'Normal' brush), as the 'Luminosity/Shine (SAI)' brush paints over it.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2019-08-02 13:24:33 UTC
What colormodel and channel depth are you using?
Comment 2 Tiar 2019-08-02 13:39:52 UTC
Also which brush, that will help us reproduce it.
Comment 3 acc4commissions 2019-08-02 14:15:40 UTC
Color Model : RGB/Alpha
Depth : 8-bit integer/channel
Profile : sRGB-elle-V2-srgbtrc.icc
Just the default settings. And it's reproducible with all brush presets.

It has to be on the same layer, and painted with brush blending mode, not the layer blending mode.
Comment 4 Tiar 2019-08-02 15:17:29 UTC
Created attachment 121901 [details]
Screenshot with new Luminosity stroke (left) and original stroke (right)

I can confirm the issue in case of semi-transparent pixels being painted over by a brush with Luminosity (SAI) mode and fully opaque pixels in that area. Does it sound like the same issue that you have? I couldn't recognize from your screenshot if the white rectangles are only in the previously semi-transparent areas or not. Can you please confirm/deny this?
Comment 5 acc4commissions 2019-08-02 15:48:41 UTC
Created attachment 121904 [details]
Capture 2

Maybe? I can't clarify from your screenshot... but it looks like the same issue. Here's a new capture using airbrush and a low-opacity brush.
Comment 6 Dmitry Kazakov 2019-11-22 06:53:01 UTC
Probably related info here:
https://bugs.kde.org/show_bug.cgi?id=414386#c3
Comment 7 acc4commissions 2021-05-24 10:17:51 UTC
Still happens in 5.0 alpha. 

It seems that it happens only at the edge of the layer where it becomes transparent. Which means it doesn't happen if you test it by painting on, for instance, white 100% layer.

Also it doesn't happen if you paint with sai blending mode over preexisting painting painted with sai blending mode.
Comment 8 acc4commissions 2021-06-08 12:56:56 UTC
I found out that this also happens when you merge the layers. If you merge an upper layer(SAI luminosity) to the bottom layer(Normal), it changes from smooth edges to blocky edges.
Comment 9 acc4commissions 2021-06-08 12:57:42 UTC
(In reply to acc4commissions from comment #8)
> I found out that this also happens when you merge the layers. If you merge
> an upper layer(SAI luminosity) to the bottom layer(Normal), it changes from
> smooth edges to blocky edges.

And the same happens when they are just simply in a group layer.
Comment 10 Bug Janitor Service 2022-05-17 11:43:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1399