Bala,

Bala Bharathan wrote:
> 
> Hello -
> 
> Is there any control over the color characteristics of the JPEG generated
> from SVG ?  

There is no simple way today. The JPEG encoding control is made in
the org.apache.batik.transcoder.image.JPEGTranscoder and it does not
give anyway to control the encoding operation today. I have entered
a bug in Bugzilla for that:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4161

In the meanwhile, you can extend the JPEGTranscoder class and 
set the JPEGEncodeParam the way you like: this will let you set
the JPEG encoding the way you want. See:

http://java.sun.com/j2se/1.3/docs/guide/2d/api-jpeg/index.html

Thanks,
Vincent.

> I find the generated image has the color depth of 24bits.
> However, JPEG standards could have different color depth such as 1bit,
> 8bits.
> 
>  -- Bala
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to