cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuan Luu" <tuan...@gmx.ch>
Subject svg2jpeg Problem, Please help
Date Thu, 25 Mar 2004 22:17:32 GMT
hello
As long as I use the svgxml serializer everything is working fine, but when
I use the svg2jpeg I receive the error Message: Image cannot be displayed,
because it contains errors.

What am I missing?

here is the sitemap: 
        <map:pipeline>
            <map:match pattern="getsvg.svg">
                <map:generate src="sc/svg/opac.svg"/>
                <map:serialize type="svgxml"/>
            </map:match>
        </map:pipeline>

and herre the file: 
<?xml version="1.0" standalone="yes"?>

<svg width="300px" height="300px">
 <g style="fill:#444">
  <path d="M0,0v250h300v-250z"/>
 </g>
 <g style="stroke:#000; stroke-width:2; fill:#f00; fill-opacity:0.5">
  <circle cx="100" cy="100" r="80"/>
 </g>
 <g style="stroke:#000; stroke-width:2; fill:#00f; fill-opacity:0.5">
  <circle cx="200" cy="100" r="80"/>
 </g>
 <g style="stroke:#000; stroke-width:2; fill:#0f0; fill-opacity:0.5">
  <circle cx="150" cy="150" r="80"/>
 </g>
</svg>


-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message