You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Alps <al...@c-sam.co.in> on 2006/06/21 06:34:15 UTC

Re: GIF...... + Trancoded Image Quality and Size.

Hi, 

Thanks thomas for the reply, 

As described, i m using Batik+java2D for transcoding SVG images to different
formats - JPEG/PNG/GIF/BMP. During process, i found the image (PNG &JPEG)
size increased badly and quality failed too. The images i am working on are
within RGB color space with some gradience. For maintaining the quality and
decrease optimal size, i tried the following approaches:

1. SVG document rendering properties - this did not proved useful in my case

2. java2D Rendering hints like INTERPOLATION, RENDERING - when applied to
BufferedImage creation from a SVG document, this helped in image size
reduction irrespective of further encoding params. 

3. BufferedImage encoding params (JpegEncodeParam, PngEncodeParam) - i found
default encoder (PNGEncoder/JpegEncoder..) setting optimal. Setting explicit
encoding params for size reduction with quality control, did not work like
for e.g. unsetting chromaticity, pallete etc.

+ i found the java.awt.image encoder for PNG and JPEG optimal among
available codecs.

The requirement is to still look over the image (PNG/JPEG) size reduction
but maintaining quality. Are some other ways enabling in image size
reduction and compression along with above described alternatives,

Thanks..Alps
--
View this message in context: http://www.nabble.com/GIF-Transcoding-and-Transcoding-Hints.-t1797093.html#a4968037
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org