Skip to content

RFC - allow setting of a RGB color on P images #1664

@wiredfool

Description

@wiredfool

The current implementation of putpixel requires that the color passed in for P mode images be an integer.

It would be a useful and reasonable to accept an RGB(A) color, look it up in the palette (or allocate an entry if possible) and then pass that integer into the core putpixel method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions