Skip to content

Capture: save images as PNG #2234

@kvark

Description

@kvark

It would be useful for debugging to be able to look at the images being used by a frame. It would also reduce the size of captures, in case those are shared on the web.

Not clear how to handle non-RGBA8 formats for this. There is always an option to leave them as raw binaries, and this is what we can start with.

Another issue is the extra dependencies dragged with PNG encoder. Having capture enabled by default in Firefox build would then less feasible. Perhaps, we can find an alternative encoder than piston-image?

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