eramgarden Posted May 11, 2004 Posted May 11, 2004 Has anyone done Tiff to SVG image? I've done Tiff to JPG, and Tiff to PDF but i wonder how Tiff to SVG can be done... any ideas? Quote
philprice Posted May 14, 2004 Posted May 14, 2004 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 Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.