From 7220dbde3cd3dde1e0dc59432cc8c4bf17d5f864 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Mon, 30 Jan 2023 09:08:38 -0800 Subject: [PATCH 01/18] Initial refactoring --- hdr_html_canvas_element.md | 477 +++++++++++++------------------------ 1 file changed, 165 insertions(+), 312 deletions(-) diff --git a/hdr_html_canvas_element.md b/hdr_html_canvas_element.md index 31cc212..7a8e82a 100644 --- a/hdr_html_canvas_element.md +++ b/hdr_html_canvas_element.md @@ -1,32 +1,33 @@ -# Canvas High Dynamic Range +# High Dynamic Range (HDR) HTML Canvas -## Proposal summary / TLDR +## Scope -### Use cases +We propose to extend the HTML Canvas API to support High Dynamic Range (HDR) imagery. -There are four main classes of High Dynamic Range (HDR) use that inform this proposal. They are: +## Primary requirements -* To draw HDR content with the minimum performance overhead. -* To draw HDR content in a way that will color match Standard Dynamic Range (SDR) content. - * Such that SDR images drawn in the canvas will appear exactly as they would if display in an `` tag. -* To display IUT-R BT.2100 Hybrid Log-Gamma (HLG) encoded HDR images and video in a canvas. - * Such that HLG images drawn in the canvas will appear exactly the same as they would if displayed via an `` or `