Skip to content

"Dead pixels" in some generated gradients #4

@AmeliaBR

Description

@AmeliaBR

I haven't yet tried to debug the gradient code, but there is a "dead pixel" effect in some of the examples.

I see the same effect in both Chrome and Firefox (with the dead pixels in exactly the same places), so it isn't a browser issue. I suspect it is some sort of rounding error. You would need to compare with the Cairo rendering of the same gradients to determine if the problem is inherent in the rendering code or if it was introduced by converting to JavaScript.

Sample 2:
Screenshot of the sample 2 file in Firefox, with one off-color pixel in one of the gradients

Sample 3:
Screenshot of the sample 3 file in Firefox, with an off-color pixel in each patch of the 3-patch gradient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions