Hi there,

I have a set of images that I am rasterizing using Batik. (The SVG
images are referenced by DITA XML documents that are processed using
the DITA Open Toolkit with a plugin that calls Batik to rasterize the
SVGs (using the Rasterizer Ant task).)

My problem is that several images are large flowcharts. When I
rasterize them at their current size, the text is too small to read. I
could simply increase the size of the SVG images, but the same XML
sources (and SVG files) are also used to create a PDF version of the
document. If I make the images any bigger, they will not fit on the
PDF page. (In PDF, it does not matter that they are small--readers can
just zoom in.)

Is there anything I can do (in terms of Batik parameters) to increase
the size of my images?

I don't mind increasing the size of all my images by the same amount
(though this is not ideal). The only thing I have tried that changes
the size of the rasterized images is to explicitly specify width, but
then all my images (even the smallest ones) come out at the same
width. I have tried changing the DPI parameter, but this has no effect
on the size of the rasterized images.

The only other approach I can think of would be to apply an XSLT
transform to the SVGs before they get rasterized, but I think this is
a little beyond my meager XSLT skills.

Thanks in advance,

-- 
Martin Polley
Technical Communicator
+972 52 3864280
<http://capcloud.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to