Anyone done Tiff to SVG?

eramgarden

Well-known member
Joined
Mar 8, 2004
Messages
579
Has anyone done Tiff to SVG image?

Ive done Tiff to JPG, and Tiff to PDF but i wonder how Tiff to SVG can be done...

any ideas?
 
Well what you are looking to do? TIFF is a bitmap type image (each pixel is held with a color value in the file in some format) where as a SVG is Vector based (image is stored as a number of points, lines and rules to describe the image). It is possible (i think) to embed entire images into SVG files - but i really see to see why one would want to do that.

If you want to convert the TIFF to a real vetor you are in for alot of work, specifically edge detection, color blocking and building up sections of an image using the System.Drawing.Region (or Lines or Curves or whatever really) type.

Take a look at SVG NET at http://www.riskcare.net/SvgNet/
Specifically the GDI Bridge that comes with it - it alows System.Drawing.Graphics style drawing onto a SVG Graphics Context then exporting as XML (how svg is held).

Hope this helps
 
Back
Top