List Info

Thread: JPG to SVG to JPG




JPG to SVG to JPG
user name
2007-07-16 06:12:18
Hi Everyone,

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
please help
Thank u advance

Regards
Arafat

Re: JPG to SVG to JPG
country flaguser name
United States
2007-07-18 05:17:18
Hi Arafat,

"Humayun Arafat" <hasagargmail.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-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-users-helpxmlgraphics.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )