On Friday 07 December 2001 03:10, Alex Kachanov wrote:
> Hello!
>
> Guys, another task for Batik Gurus.
>
> We have an SVG image which is planned to converted
> to gif, png, and wbmp for mobile devices.
>
> Since all these mobile devices have different screen
> sizes the image 95x10 px would look good on DoCoMo
> mobile phone, but would not look good on iPAQ PDA (too
> small).
>
> It would be good to resize/rescale the SVG image before
> generating gif,png,wbmp files for specific screen size.
>
> Does anyone know smart and easy solution?

The ImageTranscoder (and so de facto, the PNGTranscoder and JPGTranscoder) 
provide a set og TranscodingHint to control various aspects of the raster 
image.

You can play with KEY_WIDTH, KEY_HEIGHT and/or both.

for futher details, see:

http://xml.apache.org/batik/rasterizerTutorial.html

Regards,
Thierry.

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

Reply via email to