standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

Canvas Floating Point Color Types

Open ccameron-chromium opened this issue 2 years ago • 7 comments

Request for position on an emerging web specification

Information about the spec

  • Spec Title: Canvas Floating Point Color Types
  • Spec URL: https://github.com/w3c/ColorWeb-CG/blob/master/canvas_float.md
  • GitHub repository: https://github.com/w3c/ColorWeb-CG/

Design reviews and vendor positions

  • TAG Design Review:
  • Mozilla standards-positions issue: https://github.com/mozilla/standards-positions/issues/708

Anything else we need to know

This allows float16 (MTLPixelFormatRGBA16Float or kCVPixelFormatType_64RGBAHalf) as the backing format of an HTML canvas, in addition to the current 8-bit default. It also adds float32 as an option for ImageData (for the corresponding getImageData and putImageData calls).

ccameron-chromium avatar Nov 18 '22 09:11 ccameron-chromium