Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTML] 2D canvas floating point support #1030

Open
1 task done
ccameron-chromium opened this issue Dec 18, 2024 · 1 comment
Open
1 task done

[HTML] 2D canvas floating point support #1030

ccameron-chromium opened this issue Dec 18, 2024 · 1 comment

Comments

@ccameron-chromium
Copy link

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.

@ccameron-chromium
Copy link
Author

The comments for the larger TAG review that are relevant for this the ones relating to toDataURL and toBlob, which have been clarified (both in terms of immediate behavior and future extensions in HDR work) in the smaller explainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant