Shai Topaz wrote:
pls see attachment svg files (unfortunately marked up by illustrator)
svg_link2.svg has a xlink directive that "embeds" rectangle.svg
> within the caller file. Ideally I would like to be able to rasterize > both files by calling the batik rasterizer on svg_link2.svg
This works for me with the provided svgrasterizer, so the problem must be somewhere at your end.
ref gifs vs png: I agree there is nothing wrong with png's -
> I am just wondering whether batik will provide this support > now that the rules of the game have changed
Assuming the rules really have changed, which is usually a bit unclear, I don't particularly have an issue with GIF support but it also doesn't seem particularly useful (in otherwords unless someone hands it to me totally complete I wouldn't invest effort to add support - I don't know if other committers feel differently).
Kind regards
[EMAIL PROTECTED] 07/29/03 04:52PM >>>
Hi Shai,
Shai Topaz wrote:
Hi,
Q1
I have built an img rasterizer - svg to png/jpg based on the sample rasterizer shipped with batik 1.5
My designer wants to link svg files using the xlink directive (for linking svg fonts, svg files or even jpg files). The rasterizer complains with the following error when asked to transcode the svg file:
ERROR error - org.apache.batik.transcoder.TranscoderException: null Enclosed Exception: Content is not allowed in prolog. at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
platform details: batik 1.5 on win2k with j2sdk1.4.1_02
Can batik parse a series of source files & transcode them into 1 output file?
Your terminology is a little weird. Batik can certainly parse an SVG file that uses the 'image' element or 'use' element to reference multiple svg image files. I'm not sure what you mean by 'series of source files'. Perhaps you are confusing xlink with xinclude?
It would probably help to provide a cut down example of your problem (as a zip file or something).
Q2
Now that the ip on gifs has been lifted, any chance of gif support for rasterization?
What is wrong with 8bit PNG? Essentially all browsers support this now. Adding new output formats is pretty easy if you have the code to turn a BufferedImage into a file. In fact I think someone did something with the ACME encoder.
---------------------------------------------------------------------
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]