I sent the following Mail regarding problem with rasterizer. Could you
please tell me, do you have any fix for that in Batik1.5beata2 relase.

Thanks
Bala

-----Original Message-----
From: Thierry Kormann [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 12:44 PM
To: Batik Users
Subject: RE: Problem with the rasterizer



>        i am using following class to construct the Buffered image from SVG
> file. I got this code from Batik users site only. In this when i set
> TranscodingHints.setHeight, TranscodingHints.setWidth to different values
> say width=50 and height=750. This is not setting the height properly. It
> just renders it as 50, 50. Is image transcoder keeps the aspect ration in
> case of diffence betweek width and height is too. Is there any way to
> overcome that.

The aspect ratio is kept. I can add an a new TranscodingHint to bypass that.
I will let you know when the patch will be included.

You can for now, subclass the ImageTranscoder, copy/paste the code and add a
simple test around the width/height TranscodingHints check and computation
to do what you want.

Regards,
Thierry.



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


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


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

Reply via email to