Skip to content

image/draw: Draw is slow on Paletted images #11550

@nicks

Description

@nicks

I've been investigating an issue where drawing Paletted images seems much slower than other types of image conversion.

AFAIK, it's drawing the image twice?

drawPaletted(dst0, r, src, sp, false)

It executes the "fast" drawPaletted image, then falls into the default case, and executes the "slow" drawing path? I think there's supposed to be a return there?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions