Skip to content

image: add AtRGBA, AtGray16, etc. methods symmetric with SetRGBA, SetGray16, etc. #7694

@nigeltao

Description

@nigeltao
The image.Image and draw.Image interfaces define At and Set in terms of color.Color, an
interface type.

The concrete image implementations image.RGBA, image.Gray16, etc. also define SetRGBA,
SetGray16 etc. for performance compared to a vanilla Set.

We should consider also providing AtRGBA, AtGray16, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions