https://bugs.kde.org/show_bug.cgi?id=475014

            Bug ID: 475014
           Summary: "Grow until darkest pixel" selection filter misbehaves
                    when some of the reference pixels are fully
                    transparent
    Classification: Applications
           Product: krita
           Version: 5.2.0-beta2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools
          Assignee: krita-bugs-n...@kde.org
          Reporter: gin...@gmail.com
  Target Milestone: ---

Basically the fully transparent pixels in the reference image used by some
tools (fill tool, for example) can be darker than the [semi]transparent ones
(for example, if they were not painted yet they have zero as color components).
This leads to issues when filling some transparent region surrounded by some
color lighter than the one in the fully transparent regions: since the fully
transparent pixels are darker, the fill is stopped from "growing" into the
lines. See this thread in KA:
https://krita-artists.org/t/question-about-stop-growing-fill/

STEPS TO REPRODUCE
1. On a transparent layer paint some closed contour with anti-aliased edges
with a color other than black.
2. Use the fill tool in the interior of the contour. Use a small threshold (1
for example) so that the flood fill itself does not cover the anti-alias
pixels. 

OBSERVED RESULT
The fill does not grow over the contour lines if they have a color other than
black.

EXPECTED RESULT
The fill should grow over the contour, ignoring the color components of the
fully transparent pixels

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to