Jan -- I like #1 the best, but it seems like the Batik project won't touch GIFs due to licensing restrictions. I think for now I'll just output PNGs and convert them into GIFs through ImageMagick, which does a good job. Maybe if I get some extra time (ha!), I'll write an extension to the exiting Image task to handle GIFs.
Thanks, Tim [EMAIL PROTECTED] wrote: > 1. cleanest solution: batik.GifRasterizer > problem: not existent ? ;) > 2. Ant-only workaround: <image> task > problem: not sure if gif's and png's are handled ... > 3. 3rd-party tool with Ant integration: <some:tool> > problem: you need that tool and I dont any > 4. 3rd-party tool without integration: <exec> > problem: also need for the tool; invocation via <exec> > hint: you should capsule the call in a <macrodef> for better readability > of the buildfile > > > Jan > > >> -----Ursprüngliche Nachricht----- >> Von: Tim Meals [mailto:[EMAIL PROTECTED] >> Gesendet: Freitag, 2. November 2007 05:40 >> An: Ant Users List >> Betreff: Ant task to convert PNGs to GIFs? >> >> I'm trying to create some website graphics through XSL transforms of an >> SVG file. Only problem is the Batik task just outputs PNGs, and not >> GIFs. Redoing the entire site to PNGs is not an option -- this should >> be a transparent transition from using ImageReady templates to a >> scripted solution that is usable by developers and is language >> localizable. >> >> I have Batik's rasterizer task outputting PNGs now. Does >> anyone know of >> a pure Java Ant task that can transform those into GIFs? I can do them >> through ImageMagick, but would rather a cross-platform solution that >> doesn't rely on any exec calls. >> >> Thanks, >> Tim >> >> --------------------------------------------------------------------- >> 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]