Guide for C#
Core Document Formats
Tiff to SVG
Additional Features

C# TIFF - How to Convert TIFF to SVG

Provide Conversion APIs and Demo Code for TIFF to SVG Conversion in C#.NET

Visual C#
Home > .NET Imaging SDK > C# > Convert TIFF to SVG

"This online guide content is Out Dated!
    Please get the latest XDoc.Tiff C# Developer Guide here.

In order to convert TIFF image file to SVG image in Visual C#.NET project, you need three mature DLL assemblies of RasterEdge DocImage SDK for .NET, namely RasterEdge.Imaging.Basic.dll, RasterEdge.Imaging.TIFF.dll, and RasterEdge.Imaging.SVG.dll. It is quiet easy to integrate these mature .NET imaging DLLs into C# program, by simply adding project references.
Related .net document control helps: mvc word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery view tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control edit pdf text using c#: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
c# dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET mvc excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
To sucessfully use the functions of .NET TIFF-to-SVG Converter SDK, C# users should make sure .NET Framework 2.0 or above, Visual Studio 2005 or a later version have been installed on your computer.
To help user have a better testing or using of our .NET TIFF Converter SDK in C# application, we would like to illustrate the APIs that will be used for rendering and converting TIFF file to SVG image(s), as well as Visual C# demo code for simple testing.
C# TIFF to SVG Rendering & Converting APIs
The following APIs are used for rendering TIFF image file to SVG image(s) in C#.NET programming. In all, you can directly render TIFF document to SVG images or define specific TIFF page to be rendered and converted to SVG.

APIs for TIFF Document to SVG Conversion

void ConvertToImages(ImageType target, String directory, String fileName);
void ConvertToImages(ImageType targetType, float zoomValue, String directory, String fileName);

APIs for TIFF Page to SVG Conversion

void ConvertToImage(ImageType toType,String filePath);
void ConvertToImage(ImageType toType, float zoomValue, String filePath);
C# TIFF to SVG Rendering & Converting Demo Code
After successfully integrating and adding needed .NET TIFF Image Conversion DLLs into your C# project, you may directly test the function of TIFF to SVG conversion by copying following C# demo code to your project. In details, three aspects are included in the demo code.
  • Load a TIFF document into your C#.NET project;
  • Define bulk converting operation to render TIFF document to collections of SVG image files;
  • Define a specific TIFF page to be converted to SVG image, for instance, the first page.
// load a TIFF document
TIFFDocument doc = new TIFFDocument(@"C:\Source\Tiff\sample.tif");

// bulk operation for converting TIFF document to collections of SVG image files
doc.ConvertToImages(ImageType.SVG, @"c:\output", "sample");

// convert the fisrt page of TIFF file to SVG with zoom factor of 5 (reduced in size)
BasePage page = doc.GetPage(0);
page.ConvertToImage( ImageType.SVG,@"c:\output\sample0.svg");
In addition to the support of converting TIFF to vector SVG image, our .NET TIFF Conversion Library also supports TIFF conversion to raster images, for example, converting TIFF file to BMP, GIF, JEPG, and PNG in C#.NET program.

Recommend this to Google+ is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster