Hi Arafat,
"Humayun Arafat" <hasagar gmail.com> wrote on
07/16/2007 07:12:18 AM:
> I can transfer a file from jpg to svg to jpg using
batik.
> But when I want to transfer from svg to jpg there is
some problem.
> if I change the width or height it does not show the
full picture.
> It shows some portion of the picture.
> I am new in this topic
You need to set the viewBox attribute on the root SVG
element.
This tells the SVG renderer what portion of the infinate
canvas should be mapped to the given width and height.
------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-users-unsubscribe xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help xmlgraphics.apache.org
|