Gordon Bowman wrote:
Does anyone know what algorithm Batik uses to downsize bitmaps referenced by the <image> tag in SVG?
Right now we just use the JDK'2 AffineTransformOp to resize. In general it uses bilinear interpolation. It does not do a blur prior to resampling as is really required when downsampling by large amounts.
I would like to use XSLT to automatically generate SVG that will downsize bitmaps, and then use the Batik Rasterizer to output them to bitmaps again. This would be a free alternative to purchasing some sort of graphics server. I just need to ensure that the quality of the resampling will be good enough.
Batik can provide a lot of the tools to do this but I don't think the SVG route is going to do what you want right now.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]