<div dir="ltr">Philip,<div><br></div><div>But "identify" from ImageMagic says it is there:</div><div><br></div><div> identify -verbose A.png <br></div><div> ....</div><div> Colorspace: sRGB<br></div><div> ....</div><div><br></div><div>The specification further says:</div><div><p style="font-family:"Times New Roman";font-size:medium"><font color="#cc0000">An application that writes the <span class="gmail-cn" style="">sRGB</span> chunk should also write a <span class="gmail-cn" style="">gAMA</span> chunk (and perhaps a <span class="gmail-cn" style="">cHRM</span> chunk) for compatibility with applications that do not use the <span class="gmail-cn" style="">sRGB</span> chunk. In this situation, only the following values may be used:</font></p><pre style=""><font color="#cc0000"> gAMA:
Gamma: 45455
cHRM:
White Point x: 31270
White Point y: 32900
Red x: 64000
Red y: 33000
Green x: 30000
Green y: 60000
Blue x: 15000
Blue y: 6000
</font></pre><p style="font-family:"Times New Roman";font-size:medium"><font color="#cc0000">When the <span class="gmail-cn" style="">sRGB</span> chunk is present, applications that recognize it and are capable of color management <span class="gmail-ref" style="">[<a href="http://www.libpng.org/pub/png/spec/1.2/PNG-References.html#B.ICC">ICC</a>]</span> must ignore the <span class="gmail-cn" style="">gAMA</span> and <span class="gmail-cn" style="">cHRM</span> chunks and use the <span class="gmail-cn" style="">sRGB</span> chunk instead.</font></p></div><div>and as you can see these are the values that TwekPNG puts out, indicating that this is either a very big coincidence or the sRGB chunk is there.</div><div><br></div><div>Paulo Ney</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 13, 2021 at 1:49 AM Philip Taylor <<a href="mailto:P.Taylor@hellenic-institute.uk">P.Taylor@hellenic-institute.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div>Paulo Ney de Souza wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div>And on another point, reading the PNG specification (<a href="http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html" target="_blank">http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html</a>)
I saw the following text:</div>
<div><br>
</div>
<div> <span>An </span><span>sRGB</span><span> chunk or </span><span>iCCP</span><span> chunk, when present and
recognized, overrides the </span><span>cHRM</span><span> chunk.</span></div>
<div><br>
</div>
<div>that seems to imply the calibration chunk should be ignore
in the presence of an sRGB chunk -- which I believe is our
case, isn't it?<br>
</div>
</div>
</blockquote>
<br>
I do not see either an sRGB chunk or an iCCP chunk in "A.png", Paulo
:<br>
<br>
<img src="cid:176fc692768dba7a2581" alt=""><br>
<br>
That is not to say that neither is there, but "TweakPNG" does not
display them, so one or both <i>may</i> be missing.<br>
Philip Taylor<br>
</div>
</blockquote></div>