Aspose.SVG
20.9.0
Aspose.SVG is a cross-platform class library. Aspose.SVG for .NET API has been designed to provide a wide range of features for processing and rendering of SVG documents. It's Document Object Model (DOM) is fully compatible with the official SVG specifications, enabling you to have full control over SVG nodes and their properties. You can easily modify the document tree, add and remove nodes, change the node properties, apply filters and scripts as it is described in the official specifications. The API lets you convert your SVG document into PDF and popular image formats such as BMP, PNG, JPEG and GIF.
Rich Set of Features
Aspose.SVG for .NET aims high at facilitating its users for working with SVG files.
It provides API for work with the SVG document object model (DOM Tree) based on the official specifications, which contains:
- creating an SVG DOM tree from scratch;
- loading SVG to the DOM Tree;
- DOM tree navigation using XPath Query, CSS Selector, Element and Document Traversal functions;
- editing nodes of the DOM tree;
- saving the DOM tree to an SVG document;
One of the key features is a conversion from SVG to raster formats. The following types of conversions are possible:
- SVG to JPEG;
- SVG to PNG;
- SVG to Tiff;
- SVG to BMP;
- SVG to GIF.
Besides, the library provides conversion from SVG to PDF and SVG to XPS.
Platform Independence
Aspose.SVG for .NET can be used to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms, .NET Core etc.
Performance and Scalability
Aspsoe.SVG is designed to work both on the server-side and on the client-side.
Aspose.SVG is a single .NET assembly that can be deployed with any .NET application by simply copying it and no other services or modules are required for its operation.
Aspose.SVG is multi-threaded safe if only one thread is working on a document at a time. So it allows the different threads can safely work with different documents at the same time.
Free support for Aspose.SVG for .NET is provided on our support forum:
https://forum.aspose.com/
Aspose.SVG Documentation:
https://docs.aspose.com/display/svgnet/Home
Aspose.SVG for .NET examples and showcases:
https://github.com/aspose-svg/Aspose.SVG-for-.NET
See the version list below for details.
Install-Package Aspose.SVG -Version 20.9.0
dotnet add package Aspose.SVG --version 20.9.0
<PackageReference Include="Aspose.SVG" Version="20.9.0" />
paket add Aspose.SVG --version 20.9.0
Process & Manipulate SVG via .NET API
This .NET on-premise API helps you seamlessly integrate SVG file processing & manipulation functionality into your C#, VB.NET, ASP.NET & other .NET based apps.
SVG File Processing Features
- Create, read and write SVG format files.
- Convert SVG to other supported file formats.
- DOM Tree manipulation as per official SVG specs.
- Support for content navigation via XPath Query, CSS Selectors, Element and Document Traversal features.
- Support for quality rendering.
New Features & Enhancements 
- Added the support for vectorization that allows you to convert the text into a set of graphic elements such as
PATH
,G
,USE
,RECT
.
Please visit Aspose.SVG for .NET 20.9 Release Notes for the detailed notes.
Read Supported Formats
SVG
Save SVG As
Fixed Layout: PDF, XPS
Image: TIFF, BMP, PNG, JPEG, GIF
Platform Independence
Any operating system that can install Mono (.NET 4.0 Framework support) or use .NET core can use Aspose.SVG for .NET. This includes Windows, Linux, and macOS.
Getting Started with Aspose.SVG for .NET
Are you ready to give Aspose.SVG for .NET a try? Simply execute Install-Package Aspose.SVG
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.SVG for .NET and want to upgrade the version, please execute Update-Package Aspose.SVG
to get the latest version.
Use C# to Convert SVG to PNG format
string dataDir = RunExamples.GetDataDir_Data();
using (var document = new SVGDocument(Path.Combine(dataDir, "sourcefile.svg"))){
using (var device = new ImageDevice(new ImageRenderingOptions(ImageFormat.Png), dataDir + "targetfile.png")){
document.RenderTo(device);
}
}
Home | Product Page | Docs | API Reference | Examples | Blog | Free Support | Temporary License
Process & Manipulate SVG via .NET API
This .NET on-premise API helps you seamlessly integrate SVG file processing & manipulation functionality into your C#, VB.NET, ASP.NET & other .NET based apps.
SVG File Processing Features
- Create, read and write SVG format files.
- Convert SVG to other supported file formats.
- DOM Tree manipulation as per official SVG specs.
- Support for content navigation via XPath Query, CSS Selectors, Element and Document Traversal features.
- Support for quality rendering.
New Features & Enhancements 
- Added the support for vectorization that allows you to convert the text into a set of graphic elements such as
PATH
,G
,USE
,RECT
.
Please visit Aspose.SVG for .NET 20.9 Release Notes for the detailed notes.
Read Supported Formats
SVG
Save SVG As
Fixed Layout: PDF, XPS
Image: TIFF, BMP, PNG, JPEG, GIF
Platform Independence
Any operating system that can install Mono (.NET 4.0 Framework support) or use .NET core can use Aspose.SVG for .NET. This includes Windows, Linux, and macOS.
Getting Started with Aspose.SVG for .NET
Are you ready to give Aspose.SVG for .NET a try? Simply execute Install-Package Aspose.SVG
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.SVG for .NET and want to upgrade the version, please execute Update-Package Aspose.SVG
to get the latest version.
Use C# to Convert SVG to PNG format
string dataDir = RunExamples.GetDataDir_Data();
using (var document = new SVGDocument(Path.Combine(dataDir, "sourcefile.svg"))){
using (var device = new ImageDevice(new ImageRenderingOptions(ImageFormat.Png), dataDir + "targetfile.png")){
document.RenderTo(device);
}
}
Home | Product Page | Docs | API Reference | Examples | Blog | Free Support | Temporary License
Release Notes
https://docs.aspose.com/svg/net/aspose-svg-for-net-20-9-release-notes
Dependencies
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 3.5 Client
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 4.5.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
Used By
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Aspose.SVG:
Package | Downloads |
---|---|
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.
|
|
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more.
Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications.
Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.
|
GitHub repositories
This package is not used by any popular GitHub repositories.