Amit Srivastava wrote:

  I am using JPEGTranscoder to transcode svg to JPEG image.
It does it fine but a very light background color is coming.
I tried using
.addTranscodingHint(JPEGTranscoder.KEY_BACKGROUND_COLOR, Color.white);
but still the background is coming .

Well I would expect that using white as the background color would result in a light background. Did you try setting it to 'black' to get a dark background? Or did you mean that it was 'tinted' - you wanted it pure white but it had some other color in it?

How to remove that color ?

If it is tinted then you probably have a semi-transparent element in the document that is tinting the background. You would needed to remove that element from the document.

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



Reply via email to