summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/struct-image-03-t.svg
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/1.1/struct-image-03-t.svg
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
Diffstat (limited to 'tests/arthur/data/1.1/struct-image-03-t.svg')
-rw-r--r--tests/arthur/data/1.1/struct-image-03-t.svg54
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/struct-image-03-t.svg b/tests/arthur/data/1.1/struct-image-03-t.svg
new file mode 100644
index 0000000000..1c4c7a4477
--- /dev/null
+++ b/tests/arthur/data/1.1/struct-image-03-t.svg
@@ -0,0 +1,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>
+