<p>Hi guys.</p>
<p> </p>
<p>Does anybody have experience dealing with images on BIRT?</p>
<p> </p>
<p>I need to load a SVG file into a report so I can manipulate it by changing some areas (such as path id styles) depending on the values I get from the database.</p>
<p> </p>
<p>OK.. I'm not even in the database part because I'm having a hard-time trying to load the svg file.</p>
<p> </p>
<p>I tried this in 2 different ways:</p>
<p> </p>
<p>1. Using a text and coping the SVG definition into it:</p>
<p>
</p>
<p> <text id="42"><br>
<property name="contentType">html</property><br>
<text-property name="content"><![CDATA[<div><svg height="130" width="500"><br>
<defs><br>
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"><br>
<stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" /><br>
<stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" /><br>
</linearGradient><br>
</defs><br>
<ellipse cx="100" cy="70" rx="85" ry="55" fill="url(#grad1)" /><br>
<text fill="#ffffff" font-size="45" font-family="Verdana" x="50" y="86">SVG</text><br>
Sorry, your browser does not support inline SVG.<br>
</svg><br>
</div>]]></text-property><br>
</text><br>
</cell><br>
</p>
<p>I always receive the message : "Sorry, your browser does not support inline SVG." instead of having the SVG image showing in the browser.</p>
<p> </p>
<p>2. Trying to load an external SVG file from a URL.</p>
<p> </p>
<p>The image is loaded and showed in the browser but I couldn't find any property in the image report item I can use to make it fit into the space, the way it is, I can see only part of the image.</p>
<p> </p>
<p>Any suggestion?</p>
<p> </p>
<p>Thanks!

</p>