Skip to content

Add Image.decodeImageFromPixelsSync #178488

@gaaclarke

Description

@gaaclarke

Image.decodeImageFromPixels exists already, this is a proposal to allow people to do it synchronously. This matches the behavior of Picture.toImageSync but instead of using Picture, people can use raw pixels so they can generate high bitrate textures like r32float.

Use cases:

  • generate an SDF and attach it to a fragment shader all in the same frame

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions