Can anyone help... how to convert Image to Vectors (SVG) through Javascript.......! Any help will be awesome....!
+3
A:
What you're asking isn't really possible. I mean, you could try to do it, but I doubt the results would be particularly satisfying.
SVG to JPEG is a one-way conversion; converting a raster image to a vector image is non-trivial, see this question.
Williham Totland
2010-10-26 10:40:31
Ok Williham....
Zain
2010-10-26 10:43:04
+1 for non-trivial.
Spudley
2010-10-26 11:10:12
That said, it is possible to port e.g potrace to javascript using HTML5 canvas. It will likely be a bit slow, and it will require a bit of porting work, but it's not impossible. Tracing raster images and producing nice vector graphic results is a hard problem OTOH.
Erik Dahlström
2010-10-26 12:05:39
@Erik Dahlström: For some value of "possible".
Williham Totland
2010-10-29 07:27:16