Title: [202467] trunk/Websites/webkit.org
- Revision
- 202467
- Author
- [email protected]
- Date
- 2016-06-24 19:33:42 -0700 (Fri, 24 Jun 2016)
Log Message
More examples for the wide-gamut demo.
* blog-files/color-gamut/Iceland-P3.jpg: Added.
* blog-files/color-gamut/Iceland-oog.jpg: Added.
* blog-files/color-gamut/Iceland-sRGB.jpg: Added.
* blog-files/color-gamut/Italy-P3.jpg: Added.
* blog-files/color-gamut/Italy-oog.jpg: Added.
* blog-files/color-gamut/Italy-sRGB.jpg: Added.
* blog-files/color-gamut/Sunset-AdobeRGB.jpg: Added.
* blog-files/color-gamut/Sunset-P3.jpg: Added.
* blog-files/color-gamut/Sunset-oog.jpg: Added.
* blog-files/color-gamut/Sunset-sRGB.jpg: Added.
* blog-files/color-gamut/Webkit-logo-sRGB.png:
* blog-files/color-gamut/YellowFlower-P3.jpg: Added.
* blog-files/color-gamut/YellowFlower-oog.jpg: Added.
* blog-files/color-gamut/YellowFlower-sRGB.jpg: Added.
* blog-files/color-gamut/index.html:
Modified Paths
Added Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (202466 => 202467)
--- trunk/Websites/webkit.org/ChangeLog 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/ChangeLog 2016-06-25 02:33:42 UTC (rev 202467)
@@ -1,5 +1,25 @@
2016-06-24 Dean Jackson <[email protected]>
+ More examples for the wide-gamut demo.
+
+ * blog-files/color-gamut/Iceland-P3.jpg: Added.
+ * blog-files/color-gamut/Iceland-oog.jpg: Added.
+ * blog-files/color-gamut/Iceland-sRGB.jpg: Added.
+ * blog-files/color-gamut/Italy-P3.jpg: Added.
+ * blog-files/color-gamut/Italy-oog.jpg: Added.
+ * blog-files/color-gamut/Italy-sRGB.jpg: Added.
+ * blog-files/color-gamut/Sunset-AdobeRGB.jpg: Added.
+ * blog-files/color-gamut/Sunset-P3.jpg: Added.
+ * blog-files/color-gamut/Sunset-oog.jpg: Added.
+ * blog-files/color-gamut/Sunset-sRGB.jpg: Added.
+ * blog-files/color-gamut/Webkit-logo-sRGB.png:
+ * blog-files/color-gamut/YellowFlower-P3.jpg: Added.
+ * blog-files/color-gamut/YellowFlower-oog.jpg: Added.
+ * blog-files/color-gamut/YellowFlower-sRGB.jpg: Added.
+ * blog-files/color-gamut/index.html:
+
+2016-06-24 Dean Jackson <[email protected]>
+
Change something in the webkit.org directory in the hope
it will kick off a website update.
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-P3.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-P3.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-P3.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-P3.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-P3.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-oog.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-oog.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-oog.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-oog.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-oog.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-sRGB.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-sRGB.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-sRGB.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-sRGB.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Iceland-sRGB.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-P3.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-P3.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Italy-P3.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Italy-P3.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-P3.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-oog.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-oog.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Italy-oog.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Italy-oog.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-oog.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-sRGB.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-sRGB.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Italy-sRGB.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Italy-sRGB.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Italy-sRGB.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-AdobeRGB.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-AdobeRGB.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-AdobeRGB.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-AdobeRGB.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-AdobeRGB.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-P3.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-P3.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-P3.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-P3.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-P3.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-oog.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-oog.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-oog.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-oog.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-oog.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-sRGB.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-sRGB.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-sRGB.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-sRGB.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/Sunset-sRGB.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Modified: trunk/Websites/webkit.org/blog-files/color-gamut/Webkit-logo-sRGB.png
(Binary files differ)
Added: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-P3.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-P3.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-P3.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-P3.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-P3.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-oog.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-oog.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-oog.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-oog.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-oog.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Added: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-sRGB.jpg
(Binary files differ)
Index: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-sRGB.jpg
===================================================================
--- trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-sRGB.jpg 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-sRGB.jpg 2016-06-25 02:33:42 UTC (rev 202467)
Property changes on: trunk/Websites/webkit.org/blog-files/color-gamut/YellowFlower-sRGB.jpg
___________________________________________________________________
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
Modified: trunk/Websites/webkit.org/blog-files/color-gamut/index.html (202466 => 202467)
--- trunk/Websites/webkit.org/blog-files/color-gamut/index.html 2016-06-25 00:46:26 UTC (rev 202466)
+++ trunk/Websites/webkit.org/blog-files/color-gamut/index.html 2016-06-25 02:33:42 UTC (rev 202467)
@@ -2,67 +2,165 @@
<html>
<head>
<title>Examples of various wide-gamut images</title>
+ <meta name="viewport" content="width=850">
+
<style>
body {
+ background-color: #888;
text-align: center;
font-family: -apple-system;
- -webkit-text-selection: none;
+ max-width: 800px;
+ margin: 0 auto;
+ font-size: 18px;
}
- section > h2 {
- margin: 10px 0;
+ body.white {
+ background-color: white;
+ color: black;
}
- section > img {
+ body.light-grey {
+ background-color: #bbb;
+ color: black;
+ }
+
+ body.mid-grey {
+ background-color: #888;
+ color: black;
+ }
+
+ body.dark-grey {
+ background-color: #333;
+ color: white;
+ }
+
+ body.black {
+ background-color: black;
+ color: white;
+ }
+
+ p {
+ text-align: justify;
+ line-height: 1.4;
+ }
+
+ button {
+ -webkit-appearance: none;
+ backgroud-color: #539298;
+ color: black;
+ border: 1px solid #333;
+ box-shadow: 0px 1px 0px #336;
+ border-radius: 5px;
+ font-size: 18px;
+ cursor: pointer;
+ }
+
+ button:hover, button:active {
+ background-color: #4d6997;
+ }
+
+ section.photo {
+ border: 2px solid #622;
+ padding: 1em 3em;
+ margin-bottom: 2em;
+ }
+
+ section.photo p {
+ text-align: center;
+ }
+
+ section.photo > h2 {
+ margin: 0 0 0.7em 0;
+ font-size: 200%;
+ }
+
+ section.photo > img {
margin: 0 auto 15px auto;
display: block;
}
- section.shoes > img {
+ section.photo.shoes > img,
+ section.photo.iceland > img,
+ section.photo.italy > img,
+ section.photo.yellow > img,
+ section.photo.flowers > img {
width: 600px;
height: 400px;
}
- section.flowers > img {
- width: 600px;
- height: 398px;
- }
-
- section.rose > img {
+ section.photo.logo > img,
+ section.photo.rose > img {
width: 500px;
height: 500px;
}
- section > div > div {
+ section.photo.sunset > img {
+ width: 397px;
+ height: 600px;
+ }
+
+ section.photo > div > div {
display: inline-block;
+ margin: 0 5px;
}
- section > div > div > img {
+ section.photo > div > div > img {
margin: 0 auto 10px auto;
display: block;
+ cursor: pointer;
}
- section.shoes > div > div > img {
- width: 200px;
- height: 133px;
+ section.photo > div > div > img:hover {
+ outline: 2px solid #bbf;
}
- section.flowers > div > div > img {
+ section.photo.shoes > div > div > img,
+ section.photo.iceland > div > div > img,
+ section.photo.italy > div > div > img,
+ section.photo.yellow > div > div > img,
+ section.photo.flowers > div > div > img {
width: 200px;
height: 133px;
}
- section.rose > div > div > img {
+ section.photo.logo > div > div > img,
+ section.photo.rose > div > div > img {
width: 150px;
height: 150px;
}
+ section.photo.sunset > div > div > img {
+ width: 132px;
+ height: 200px;
+ }
</style>
<script>
function init() {
- var sections = Array.from(document.querySelectorAll("section"));
+ var buttons = Array.from(document.querySelectorAll(".background button"));
+ buttons.forEach(function (button) {
+ button.addEventListener("click", function (event) {
+ switch (button.textContent) {
+ case "White":
+ document.body.className = "white";
+ break;
+ case "Light grey":
+ document.body.className = "light-grey";
+ break;
+ case "Middle grey":
+ document.body.className = "mid-grey";
+ break;
+ case "Dark grey":
+ document.body.className = "dark-grey";
+ break;
+ case "Black":
+ document.body.className = "black";
+ }
+ });
+ });
+
+ var sections = Array.from(document.querySelectorAll("section.photo"));
sections.forEach(function (section) {
var images = Array.from(section.querySelectorAll("div > div > img"));
images.forEach(function (image) {
@@ -96,8 +194,35 @@
</script>
</head>
<body>
+ <h1>Comparision between normal and wide-gamut images</h1>
- <section class="shoes">
+ <p>
+ Here are some example images to demonstrate wide-gamut. There
+ are multiple versions of each image: one in sRGB, which is the
+ typical color space we've been using on the Web for years, then
+ some in other color spaces with a wider gamut, and then a version
+ where the pixels outside sRGB have been highlighted.
+ </p>
+ <p>
+ You can swap between the versions by tapping the buttons below
+ the image. You can also change the background color of this page:
+ </p>
+ <p class="background">
+ Page background color:
+ <button>White</button>
+ <button>Light grey</button>
+ <button>Middle grey</button>
+ <button>Dark grey</button>
+ <button>Black</button>
+ </p>
+ <p>
+ If you're not using a wide-gamut display to view these images,
+ the different versions should look nearly identical. You'll have
+ to rely on the version that highlights pixels to get an idea of
+ what parts of the image would be different.
+ </p>
+
+ <section class="photo shoes">
<h2>Shoes</h2>
<img src="" alt="Bright orange shoes">
<p>Currently showing: sRGB</p>
@@ -118,7 +243,70 @@
</div>
</section>
- <section class="flowers">
+ <section class="photo logo">
+ <h2>WebKit Logo</h2>
+ <img src="" alt="Red image with very faint WebKit logo">
+ <p>Currently showing: sRGB</p>
+ <p>Tap/click on one of the images below to replace the main image</p>
+ <div>
+ <div>
+ <img src="" alt="Faint WebKit logo in the sRGB color space">
+ <span>sRGB</span>
+ </div>
+ <div>
+ <img src="" alt="Faint WebKit logo in the Display P3 color space">
+ <span>Display P3</span>
+ </div>
+ <div>
+ <img src="" alt="Faint WebKit logo showing which parts are outside of the sRGB gamut">
+ <span>Out of sRGB areas</span>
+ </div>
+ </div>
+ </section>
+
+ <section class="photo iceland">
+ <h2>Iceland</h2>
+ <img src="" alt="A river in Iceland with a sunset">
+ <p>Currently showing: sRGB</p>
+ <p>Tap/click on one of the images below to replace the main image</p>
+ <div>
+ <div>
+ <img src="" alt="A river in Iceland with a sunset in the sRGB color space">
+ <span>sRGB</span>
+ </div>
+ <div>
+ <img src="" alt="A river in Iceland with a sunset in the Display P3 color space">
+ <span>Display P3</span>
+ </div>
+ <div>
+ <img src="" alt="A river in Iceland with a sunset showing which parts are outside of the sRGB gamut">
+ <span>Out of sRGB areas</span>
+ </div>
+ </div>
+ </section>
+
+ <section class="photo italy">
+ <h2>Italy</h2>
+ <img src="" alt="Umbrellas in Italy">
+ <p>Currently showing: sRGB</p>
+ <p>Tap/click on one of the images below to replace the main image</p>
+ <div>
+ <div>
+ <img src="" alt="Umbrellas in Italy in the sRGB color space">
+ <span>sRGB</span>
+ </div>
+ <div>
+ <img src="" alt="Umbrellas in Italy in the Display P3 color space">
+ <span>Display P3</span>
+ </div>
+ <div>
+ <img src="" alt="Umbrellas in Italy showing which parts are outside of the sRGB gamut">
+ <span>Out of sRGB areas</span>
+ </div>
+ </div>
+ </section>
+
+ <section class="photo flowers">
<h2>Flowers</h2>
<img src="" alt="Lots of red flowers">
<p>Currently showing: sRGB</p>
@@ -133,17 +321,55 @@
<span>ProPhoto</span>
</div>
<div>
- <img src="" alt="Lots of red flowers in the Adobe RGB color space">
- <span>Adobe RGB</span>
+ <img src="" alt="Lots of red flowers showing which parts are outside of the sRGB gamut">
+ <span>Out of sRGB areas</span>
</div>
+ </div>
+ </section>
+
+ <section class="photo yellow">
+ <h2>Yellow Flower</h2>
+ <img src="" alt="A yellow flowers">
+ <p>Currently showing: sRGB</p>
+ <p>Tap/click on one of the images below to replace the main image</p>
+ <div>
<div>
- <img src="" alt="Lots of red flowers showing which parts are outside of the sRGB gamut">
+ <img src="" alt="A yellow in the sRGB color space">
+ <span>sRGB</span>
+ </div>
+ <div>
+ <img src="" alt="A yellow in the Display P3 color space">
+ <span>Display P3</span>
+ </div>
+ <div>
+ <img src="" alt="A yellow showing which parts are outside of the sRGB gamut">
<span>Out of sRGB areas</span>
</div>
</div>
</section>
- <section class="rose">
+ <section class="photo sunset">
+ <h2>Sunset</h2>
+ <img src="" alt="A sunset">
+ <p>Currently showing: sRGB</p>
+ <p>Tap/click on one of the images below to replace the main image</p>
+ <div>
+ <div>
+ <img src="" alt="A sunset in the sRGB color space">
+ <span>sRGB</span>
+ </div>
+ <div>
+ <img src="" alt="A sunset in the P3 color space">
+ <span>Display P3</span>
+ </div>
+ <div>
+ <img src="" alt="A sunset showing which parts are outside of the sRGB gamut">
+ <span>Out of sRGB areas</span>
+ </div>
+ </div>
+ </section>
+
+ <section class="photo rose">
<h2>Rose</h2>
<img src="" alt="A red rose">
<p>Currently showing: sRGB</p>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes