Thanks Mr DeWeese
As I am very new to SVG and Batik I didn't fully understand your explanation. If you don't mind could you please explain in detail?
Hi Shan,
Since you seem to know what rasterization is I'm a little at a loss to know what I should explain in more detail - other than to point out that the raster version of most geometric primitives is several orders of magnitude larger - hence the 12K -> 1.8MB change in size.
Also I can see that opacity operations end up rasterizing.
Not all do - fill-opacity and stroke-opacity are directly transcoded, but group-opacity is rasterized - it is non-trivial to avoid this (if it can be avoided in PDF - I am not a PDF expert).
Thanks Shan
-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 13:16
To: Batik Users
Subject: Re: SVG to PDF Conversion
Shan Kajendran wrote:
Dear Friends,
I am using Rasterizer in Batik to convert SVG into PDF. It is converting fine but the problem is the size.
12kb svg is converted into nearly 1.8 meg pdf.
Hi Shan,
> Any idea?
There are quite a number of SVG features that need to be rasterized for PDF. Like almost all filter effects, also some opacity operations end up rasterizing (some of these could theoretically be avoided I think).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]