Dears, I'm developing a small tomcat app that transforms a well-defined xml content through an xsl stylesheet producing and svg file with the purpose of obtaining a final raster image (png, jpeg or whatever).
This final image size (in pixels) is most of the time defined by the stylesheet producing the svg file, specifying the width and height attributes in the root element. In the most general case, however, it may happen that the final size is not defined in the produced svg. My questions are: is there a way in the batik api to obtain the final raster size or, in case it is not available, at least the width/height ratio? Of course, given a way exists, this operation may need to 'virtually renderer' the final image. This gives my next question: is there a way to avoid a double transcoding (one to obtain the svg dimension, one to render it). In example, is there possible to 'freeze' the rendering process at the gvt tree time and split the process in two ops, bounding-box computation and rendering? I'm new to this list and I tried by meself to answer to these question, without caming to a definitive answer. Thank you very much, Giampaolo Tomassoni --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]