#1030: [HTML] 2D canvas floating point support

Visit on Github.

Opened Dec 18, 2024

I'm requesting a TAG review of 2D canvas floating point!

The output bitmap of a CanvasRenderingContext2D (or offscreen) defaults to being 8-bit on all browses (although it is not specified this way). This change makes that behavior explicitly specified, and add the option, via CanvasRenderingContext2DSettings, to specify that it can be 16-bit floating point.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines:
  • The group where the work on this specification is currently being done: ColorWeb-CG
  • Major unresolved issues with or opposition to this specification:
  • This work is being funded by:

You should also know that...

A superset of this functionality was reviewed by TAG as part of the proposal for Adding support for High Dynamic Range (HDR) imagery to HTML Canvas. That proposal is being split into several independent components to be added individually.

Discussions