xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hermans <paul_herm...@protext.be>
Subject request : optimising size of generated PNG by the SVG Rasterizer
Date Fri, 13 Jul 2001 14:21:08 GMT
Dear all,

I'm generating programmatically SVG from an SGML file. 
This is fairly straigthforward except for determining
the attributes width, heigth and viewport on the svg element.

as in : <svg width="4in" height="3in" viewBox="0 0 40 30">

So i leave those undefined.

concrete : <svg>

When I run the rasterizer to PNG, this works of course.
But these PNG's are much too large. 

Result: when included in HTML the layout does not look as hoped for.

Would it be possible that the rasterizer would automatically generate an 
optimised image size when the attributes width and height are not available.

The tool WebEQ does this when generating PNG from MathML.

Thanks for the help.

Paul

Pro Text
Paul Hermans
Leuvensesteenweg 282/c 
3190 Boortmeerbeek (Belgium)
+32 15 61 85 45
+32 15 62 03 99 (fax)
Paul_Hermans@protext.be

Mime
View raw message