Skip to content

Support loading 16-bit PNGs #3145

@stevengoldberg

Description

@stevengoldberg

Description

It looks like when I load a 16-bit PNG into an SkImage (via the useImage hook) the result is still an 8-bit PNG: image.getImageInfo().colorType is 4, which corresponds to RGBA_8888.

Is it possible to support 16-bit PNGs in SkImage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions