Convert to SVG

About SVG File Format

A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Users can adjust the compression level to achieve the desired quality level while at the same time reduce the storage size. Image quality is negligibly affected if 10:1 compression is applied to the image. The higher the compression value, the higher the degradation in image quality.

Convert from SVG

With GroupDocs.Conversion you can easily convert your SVG document into another file format.
For example SVG to PDF conversion code snippet will look like this:

// Load the source SVG file
using (var converter = new GroupDocs.Conversion.Converter("sample.svg"))
{
    // Set the convert options for PDF format
   var options = new PdfConvertOptions();
    // Convert to PDF format
    converter.Convert("converted.pdf", options);
}

Put it simply - you just load a SVG file into Converter, select desired output format and all the rest will be done by GroupDocs.Conversion.

Convert to SVG

On the other hand, converting your files to SVG format is also quite simple and natural. The following code sample demonstrates how to convert PDF document to SVG in C# using GroupDocs.Conversion.

// Load the source PDF file
using (Converter converter = new Converter("sample.pdf"))
{
    string outputFileTemplate = Path.Combine(outputFolder, "converted-page-{0}.svg");
    GroupDocs.Conversion.Contracts.SavePageStream getPageStream = page => new FileStream(string.Format(outputFileTemplate, page), FileMode.Create);

    // Set the convert options for SVG format
    var options = new ImageConvertOptions { Format = GroupDocs.Conversion.FileTypes.ImageFileType.Svg };
    // Convert to SVG format
    converter.Convert(getPageStream, options);
}

For more detailed code examples of how to convert various file formats to SVG please check articles provided below.

Convert AI to SVGConvert BMP to SVGConvert CDR to SVGConvert CF2 to SVG
Convert CGM to SVGConvert CMX to SVGConvert CSV to SVGConvert DCM to SVG
Convert DGN to SVGConvert DIB to SVGConvert DJVU to SVGConvert DNG to SVG
Convert DOC to SVGConvert DOCM to SVGConvert DOCX to SVGConvert DOT to SVG
Convert DOTM to SVGConvert DOTX to SVGConvert DWF to SVGConvert DWFX to SVG
Convert DWG to SVGConvert DWT to SVGConvert DXF to SVGConvert EMF to SVG
Convert EML to SVGConvert EMLX to SVGConvert EMZ to SVGConvert EPS to SVG
Convert EPUB to SVGConvert FODP to SVGConvert FODS to SVGConvert GIF to SVG
Convert HTM to SVGConvert HTML to SVGConvert ICO to SVGConvert IFC to SVG
Convert IGS to SVGConvert J2C to SVGConvert J2K to SVGConvert JLS to SVG
Convert JP2 to SVGConvert JPC to SVGConvert JPEG to SVGConvert JPF to SVG
Convert JPG to SVGConvert JPM to SVGConvert JPX to SVGConvert LOG to SVG
Convert MD to SVGConvert MHT to SVGConvert MHTML to SVGConvert MOBI to SVG
Convert MPP to SVGConvert MPT to SVGConvert MPX to SVGConvert MSG to SVG
Convert ODG to SVGConvert ODP to SVGConvert ODS to SVGConvert ODT to SVG
Convert ONE to SVGConvert OTG to SVGConvert OTP to SVGConvert OTS to SVG
Convert OTT to SVGConvert OXPS to SVGConvert PCL to SVGConvert PDF to SVG
Convert PLT to SVGConvert PNG to SVGConvert POT to SVGConvert POTM to SVG
Convert POTX to SVGConvert PPS to SVGConvert PPSM to SVGConvert PPSX to SVG
Convert PPT to SVGConvert PPTM to SVGConvert PPTX to SVGConvert PS to SVG
Convert PSD to SVGConvert RTF to SVGConvert STL to SVGConvert SVGZ to SVG
Convert SXC to SVGConvert TEX to SVGConvert TIF to SVGConvert TIFF to SVG
Convert TSV to SVGConvert TXT to SVGConvert VCF to SVGConvert VDW to SVG
Convert VDX to SVGConvert VSD to SVGConvert VSDM to SVGConvert VSDX to SVG
Convert VSS to SVGConvert VSSM to SVGConvert VSSX to SVGConvert VST to SVG
Convert VSTM to SVGConvert VSTX to SVGConvert VSX to SVGConvert VTX to SVG
Convert WEBP to SVGConvert WMF to SVGConvert WMZ to SVGConvert XLAM to SVG
Convert XLS to SVGConvert XLSB to SVGConvert XLSM to SVGConvert XLSX to SVG
Convert XLT to SVGConvert XLTM to SVGConvert XLTX to SVGConvert XML to SVG
Convert XPS to SVG