Pages: [1]   Go Down
  Print  
Author Topic: Webkit team details Safari 15.2’s expanded wide color gamut support  (Read 123 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: December 22, 2021, 04:05:10 pm »

Webkit team details Safari 15.2’s expanded wide color gamut support

<div id="link_wrapped_content">
<body><section class="wp-block-bigbite-multi-title"><div class="container"></div></section><p>For most of us, the release of Safari 15.2 as part of iOS 15.2 and macOS 12.1 came and went with little fanfare. On the surface, it was a standard maintenance release with bug fixes and <a href="https://go.redirectingat.com/?id=111346X1569486&amp;url=https://support.apple.com/en-us/HT212982&amp;xcust=1-1-560911-1-0-0&amp;sref=https://www.macworld.com/feed" data-type="URL" data-id="https://support.apple.com/en-us/HT212982" rel="nofollow">security improvements[/url]. But a <a href="https://go.redirectingat.com/?id=111346X1569486&amp;url=https://webkit.org/blog/12058/wide-gamut-2d-graphics-using-html-canvas/&amp;xcust=1-1-560911-1-0-0&amp;sref=https://www.macworld.com/feed" rel="nofollow">blog post by the WebKit team[/url] outlines a new feature that will have a big impact on web viewing.</p>



<p>As Cameron McCormack explains, sites using <a href="https://go.redirectingat.com/?id=111346X1569486&amp;url=https://developer.apple.com/documentation/safari-release-notes/safari-15_2-release-notes&amp;xcust=1-1-560911-1-0-0&amp;sref=https://www.macworld.com/feed" data-type="URL" data-id="https://developer.apple.com/documentation/safari-release-notes/safari-15_2-release-notes" rel="nofollow">Safari 15.2[/url] can now choose between two color spaces for creating canvas contexts (basically anything other than images and text): the standard sRGB and wide-color P3. Apple users will recognize the P3 color space that has been used in Mac and iPhone screens since 2015, but until now neither Chrome nor Safari took full advantage of it for anything other than images. Safari 15.2 changes that with support for creating 2D canvas contexts using Apple&rsquo;s Display P3 color space, which will bring richer colors to page elements.</p>



<p>The change won&rsquo;t be immediate. For one, Safari&rsquo;s default space will still be sRGB, McCormack explains, &ldquo;to avoid the performance overhead of color space conversions with existing content.&rdquo; For another, developers will need to request the P3 space for each canvas element, which will require a bit of work.</p>



<p>McCormack says Safari is the first browser to support drawing shapes, text, gradients, and shadows with wide gamut CSS colors on Display P3 canvases, so until other browsers get on board, it&rsquo;s unlikely that many sites will make the switch. And despite the difference in intensity between sRGB and Display P3, most designers won&rsquo;t bother to adopt the new space until at least Chrome adds support.</p>
</body></div>

Source: Webkit team details Safari 15.2’s expanded wide color gamut support
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: