Skip to content

make decodeImageFromPixels support wide gamut colors #121730

@gaaclarke

Description

@gaaclarke

Right now decodeImageFromPixels only supports rgba8888 and bgra8888 of an unspecified colorspace (assumed to be sRGB).

We could:

  1. Add a colorspace argument
  2. Add support for pixel formats that can represent extended sRGB values
  3. Both

Design doc:
https://docs.google.com/document/d/1JUvx3N21Dq-GmzveNOUDixVL0hUKyrkDL5WCuPUPudQ/edit#

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectengineflutter/engine related. See also e: labels.waiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions