0
|
1 |
<?xml version="1.0" standalone="no"?>
|
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
|
|
3 |
|
|
4 |
<!-- ===================================================================== -->
|
|
5 |
<!-- -->
|
|
6 |
<!-- structure-imggamma-BE-11.svg -->
|
|
7 |
<!-- renamed to struct-image-03-t.svg -->
|
|
8 |
<!-- -->
|
|
9 |
<!-- Author : Chris Lilley 12 Nov 2000 -->
|
|
10 |
<!-- Revised for 1.1 : Rick Graham Feb/05/2002 -->
|
|
11 |
<!-- -->
|
|
12 |
<!-- History: -->
|
|
13 |
<!-- 12-Nov-2000, CL first draft as DT. -->
|
|
14 |
<!-- 26 Jan-2001, CL converted to BE test -->
|
|
15 |
<!-- -->
|
|
16 |
<!-- ===================================================================== -->
|
|
17 |
<!-- ====================================================================== -->
|
|
18 |
<!-- Minimal SVG element, unless the test purpose is to exercise ========== -->
|
|
19 |
<!-- attributes and properties on the SVG element. ========== -->
|
|
20 |
<!-- ====================================================================== -->
|
|
21 |
<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">
|
|
22 |
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
|
|
23 |
<!--nav data here-->
|
|
24 |
<OperatorScript version="$Revision: 1.6 $" testname="struct-image-03-t.svg">
|
|
25 |
<Paragraph>
|
|
26 |
This test verifies the support for gamma correction of displayed PNG
|
|
27 |
images. Several different images are displayed one above the other;
|
|
28 |
if gamma correction is correctly performed based on the values in
|
|
29 |
the gAMA chunk in the PNG file, the resulting displayed values are
|
|
30 |
the same in all of the files (except for rounding error, which gives
|
|
31 |
some artefacts at the right side of the lowest two images due to the
|
|
32 |
very high levels of gamma correction needed for this test).
|
|
33 |
</Paragraph>
|
|
34 |
</OperatorScript>
|
|
35 |
</SVGTestCase>
|
|
36 |
<title id="test-title">struct-image-03-t</title>
|
|
37 |
<desc id="test-desc">Test gamma correction of PNG images based on gAMA
|
|
38 |
chunk. Derived from original HTML test by Dave Martindale.</desc>
|
|
39 |
<!-- ====================================================================== -->
|
|
40 |
<!-- Content of Test Case follows... ===================== -->
|
|
41 |
<!-- ====================================================================== -->
|
|
42 |
<g id="test-body-content">
|
|
43 |
<rect x="23" y="13" width="434" height="224" stroke="none" fill="black" />
|
|
44 |
<image x="25" y="15" width="430" height="48" xlink:href="images/gam030.png"/>
|
|
45 |
<image x="25" y="43" width="430" height="48" xlink:href="images/gam045.png"/>
|
|
46 |
<image x="25" y="91" width="430" height="48" xlink:href="images/gam056.png"/>
|
|
47 |
<image x="25" y="139" width="430" height="48" xlink:href="images/gam100.png"/>
|
|
48 |
<image x="25" y="187" width="430" height="48" xlink:href="images/gam200.png"/>
|
|
49 |
<text x="25" y="285" font-size="40">Gamma correction</text>
|
|
50 |
</g>
|
|
51 |
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
|
|
52 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|
53 |
</svg>
|
|
54 |
|