summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/struct-image-03-t.svg
blob: 1c4c7a44772f087e672fde766e1d0d46153795cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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>