SVG File
Posted: 2007-03-28T12:16:41-07:00
Here is a pretty simple SVG file, which does get validated by the W3C validator:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg SYSTEM "svg10.dtd">
<svg x="0" y="0" width="91" height="185">
<defs>
<linearGradient id="MASTERGRADIENT_0_" x1="0%" y1="50%" x2="100%" y2="50%" gradientUnits="objectBoundingBox">
<stop offset="0%" stop-color="#FF0000"/>
<stop offset="20%" stop-color="#FF7F00"/>
<stop offset="40%" stop-color="#FFBF00"/>
<stop offset="59%" stop-color="#73F80F"/>
<stop offset="81%" stop-color="#00A0C6"/>
<stop offset="100%" stop-color="#4210D2"/>
</linearGradient>
</defs>
<g>
<linearGradient id="GRADIENT_LINK_0_" xlink:href="#MASTERGRADIENT_0_" gradientUnits="userSpaceOnUse" x1="0.500" y1="91.833" x2="89.833" y2="91.833">
</linearGradient>
<path style="fill:url(#GRADIENT_LINK_0_);stroke:#000000;" d=" M89.83,183.17 C89.83,183.17 0.50,183.17 0.50,183.17 C0.50,183.17 0.50,0.50 0.50,0.50 C0.50,0.50 89.83,0.50 89.83,0.50 C89.83,0.50 89.83,183.17 89.83,183.17"/>
</g>
</svg>
This file is not displayed with ImageMagick’s imdisplay. Why? The error given is: IMDisplayDoc function[DoReadImage] encountered an error. imdisplay.exe: Non-conforming drawing primitive definition 'fill'.
The ImageMagick version is 6.2.4.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg SYSTEM "svg10.dtd">
<svg x="0" y="0" width="91" height="185">
<defs>
<linearGradient id="MASTERGRADIENT_0_" x1="0%" y1="50%" x2="100%" y2="50%" gradientUnits="objectBoundingBox">
<stop offset="0%" stop-color="#FF0000"/>
<stop offset="20%" stop-color="#FF7F00"/>
<stop offset="40%" stop-color="#FFBF00"/>
<stop offset="59%" stop-color="#73F80F"/>
<stop offset="81%" stop-color="#00A0C6"/>
<stop offset="100%" stop-color="#4210D2"/>
</linearGradient>
</defs>
<g>
<linearGradient id="GRADIENT_LINK_0_" xlink:href="#MASTERGRADIENT_0_" gradientUnits="userSpaceOnUse" x1="0.500" y1="91.833" x2="89.833" y2="91.833">
</linearGradient>
<path style="fill:url(#GRADIENT_LINK_0_);stroke:#000000;" d=" M89.83,183.17 C89.83,183.17 0.50,183.17 0.50,183.17 C0.50,183.17 0.50,0.50 0.50,0.50 C0.50,0.50 89.83,0.50 89.83,0.50 C89.83,0.50 89.83,183.17 89.83,183.17"/>
</g>
</svg>
This file is not displayed with ImageMagick’s imdisplay. Why? The error given is: IMDisplayDoc function[DoReadImage] encountered an error. imdisplay.exe: Non-conforming drawing primitive definition 'fill'.
The ImageMagick version is 6.2.4.