hi,
when i am converting the svg to jpeg using the batik transcoder,i am setting
the KEY_WIDTH,KEY_HEIGHT AND KEY_AOI values to render the image of the size
of interest.though i am giving the AOI size  ore than my svg bounding box,i
could see the image getting cropped.what might be the reason.do i need to
set any coardinate system.i have my bounding box defined as 0,0,1000,800.

Rectangle aoi = new Rectangle(0, 0, 1000, 800);
trans.addTranscodingHint(JPEGTranscoder.KEY_WIDTH,
                                 new Float(aoi.width));
trans.addTranscodingHint(JPEGTranscoder.KEY_HEIGHT,
                                 new Float(aoi.height));
trans.addTranscodingHint(JPEGTranscoder.KEY_AOI, aoi); 


thanks a lot.

GVS

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

Reply via email to