qt5base-lts/tests/arthur/data/1.1/struct-image-03-t.svg
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

55 lines
3.6 KiB
XML

<?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="images/gam030.png"/>
<image x="25" y="43" width="430" height="48" xlink:href="images/gam045.png"/>
<image x="25" y="91" width="430" height="48" xlink:href="images/gam056.png"/>
<image x="25" y="139" width="430" height="48" xlink:href="images/gam100.png"/>
<image x="25" y="187" width="430" height="48" xlink:href="images/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>