blob: 4f9115a1c8b712ce40d067549485ef388804cca7 [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- structure-imggamma-BE-11.svg -->
<!-- renamed to struct-image-03-t.svg -->
<!-- -->
<!-- Author : Chris Lilley 12 Nov 2000 -->
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
<!-- -->
<!-- History: -->
<!-- 12-Nov-2000, CL first draft as DT. -->
<!-- 26 Jan-2001, CL converted to BE test -->
<!-- -->
<!-- ===================================================================== -->
<!-- ====================================================================== -->
<!-- Minimal SVG element, unless the test purpose is to exercise ========== -->
<!-- attributes and properties on the SVG element. ========== -->
<!-- ====================================================================== -->
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="structure-imggamma-BE-11" width="100%" height="100%" viewBox="0 0 480 360">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<!--nav data here-->
<OperatorScript version="$Revision: 1.6 $" testname="struct-image-03-t.svg">
<Paragraph>
This test verifies the support for gamma correction of displayed PNG
images. Several different images are displayed one above the other;
if gamma correction is correctly performed based on the values in
the gAMA chunk in the PNG file, the resulting displayed values are
the same in all of the files (except for rounding error, which gives
some artefacts at the right side of the lowest two images due to the
very high levels of gamma correction needed for this test).
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">struct-image-03-t</title>
<desc id="test-desc">Test gamma correction of PNG images based on gAMA
chunk. Derived from original HTML test by Dave Martindale.</desc>
<!-- ====================================================================== -->
<!-- Content of Test Case follows... ===================== -->
<!-- ====================================================================== -->
<g id="test-body-content">
<rect x="23" y="13" width="434" height="224" stroke="none" fill="black" />
<image x="25" y="15" width="430" height="48" xlink:href="resources/gam030.png"/>
<image x="25" y="43" width="430" height="48" xlink:href="resources/gam045.png"/>
<image x="25" y="91" width="430" height="48" xlink:href="resources/gam056.png"/>
<image x="25" y="139" width="430" height="48" xlink:href="resources/gam100.png"/>
<image x="25" y="187" width="430" height="48" xlink:href="resources/gam200.png"/>
<text x="25" y="285" font-size="40">Gamma correction</text>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>