Revision: 54180
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 14, 2011 02:34 by wnasich
Initial Code
<image hAlign="Center" vAlign="Middle"> <reportElement x="0" y="0" width="179" height="66"/> <imageExpression class="net.sf.jasperreports.engine.JRRenderable"><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstance(new java.io.File("/path/to/logo.svg"))]]></imageExpression> </image>
Initial URL
http://stackoverflow.com/questions/4657238/jasperreport-scales-images-when-exporting-to-pdf-thus-losing-quality
Initial Description
Replace the normal <image...> XML with the following code (be sure to adjust the width and height accordingly):
Initial Title
Using svg images into JasperReport
Initial Tags
xml
Initial Language
XML