Add support for displaying correct colors with PNG files that contain embedded ICC color profiles

This commit is contained in:
Kovid Goyal
2020-08-12 07:48:47 +05:30
parent 6ca1b7c240
commit 5eefd41059
9 changed files with 69 additions and 9 deletions

View File

@@ -161,9 +161,10 @@ of transmitting paletted images.
RGB and RGBA data
~~~~~~~~~~~~~~~~~~~
In these formats the pixel data is stored directly as 3 or 4 bytes per pixel, respectively.
When specifying images in this format, the image dimensions **must** be sent in the control data.
For example::
In these formats the pixel data is stored directly as 3 or 4 bytes per pixel,
respectively. The colors in the data **must** be in the *sRGB color space*. When
specifying images in this format, the image dimensions **must** be sent in the
control data. For example::
<ESC>_Gf=24,s=10,v=20;<payload><ESC>\