If I remember correctly you either need to send canvg a SVG file or the serialized SVG (as text). So you'll need to serialize the SVG document once it's been dynamically created. See XMLSerializer
Also, canvg can't handle every type of SVG element yet. Jeff --- In [email protected], Mr Rauf <cute_rauf_696@...> wrote: > > Thanx jeff Schiller, > link is very usefull for mee,but i have question , if i append the data > dynamically in svg and pass the file in canvg ,can canvg convert all data in > canvas including the object that created dynamically in svg file?? > > > > > ________________________________ > From: Jeff Schiller <codedread@...> > To: [email protected] > Sent: Fri, March 4, 2011 10:44:47 AM > Subject: Re: [svg-developers] convert SVG to Png on WEB > > http://canvg.googlecode.com/ > > On Thu, Mar 3, 2011 at 9:36 PM, Mr Rauf <cute_rauf_696@...> wrote: > > > > > > > hi All, > > how can i convert my svg file in png or jpeg on my web application?? > > > > > > > > > [Non-text portions of this message have been removed] > > > > ------------------------------------ > > ----- > To unsubscribe send a message to: [email protected] > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit my > membership" > ----Yahoo! Groups Links > > > > > > > [Non-text portions of this message have been removed] > ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

