Aspose.SVG.Drawing.SkiaSharp
24.10.0
dotnet add package Aspose.SVG.Drawing.SkiaSharp --version 24.10.0
NuGet\Install-Package Aspose.SVG.Drawing.SkiaSharp -Version 24.10.0
<PackageReference Include="Aspose.SVG.Drawing.SkiaSharp" Version="24.10.0" />
paket add Aspose.SVG.Drawing.SkiaSharp --version 24.10.0
#r "nuget: Aspose.SVG.Drawing.SkiaSharp, 24.10.0"
// Install Aspose.SVG.Drawing.SkiaSharp as a Cake Addin #addin nuget:?package=Aspose.SVG.Drawing.SkiaSharp&version=24.10.0 // Install Aspose.SVG.Drawing.SkiaSharp as a Cake Tool #tool nuget:?package=Aspose.SVG.Drawing.SkiaSharp&version=24.10.0
About
Aspose.SVG.Drawing.SkiaSharp is an extension component for Aspose.SVG that enhances its functionality by leveraging the SkiaSharp library for drawing and comprehensive conversion of SVG files. It supports conversion to popular raster formats such as PNG, JPEG, and TIFF, as well as providing robust capabilities for converting SVG files to PDF and XPS formats. By utilizing SkiaSharp, this component offers faster drawing capabilities and multiplatform support.
It seamlessly integrates into your .NET Apps and extends Aspose.SVG's capabilities to enable high-quality SVG rendering and conversion using SkiaSharp's powerful features. SkiaSharp provides a wide range of advanced image filters, shaders, and other capabilities that are leveraged by Aspose.SVG.Drawing.SkiaSharp for drawing SVG documents, enabling image effects and manipulations, such as blurring, sharpening, color adjustments, gradients, and custom shader effects. These features enhance the visual output of your SVG files, resulting in visually enhanced and engaging graphics.
Aspose.SVG.Drawing.SkiaSharp is developed for .NET Standard 2.0, making it compatible with a wide range of .NET platforms. It can be used with any .NET language, including C# and VB.NET. It works on multiple operating systems, including MS Windows (32-bit and 64-bit), macOS (10.12+), and Linux, wherever you can install .NET Framework, Mono, or .NET Core.
How to Use
To activate the Aspose.SVG.Drawing.SkiaSharp feature, simply include the following code in your application:
Aspose.Svg.Configuration.SetExtension(new SkiaModule());
With the drawing engine initialized, you can now use the Aspose.SVG.Drawing.SkiaSharp for various tasks. For instance, you can convert SVG files to PNG as shown below:
using Aspose.Svg;
using System.IO;
using Aspose.Svg.Saving;
using Aspose.Svg.Converters;
using Aspose.Svg.Drawing.SkiaSharp;
// Initilize SkiaSharp-based drawing engine
Aspose.Svg.Configuration.SetExtension(new SkiaModule());
// Initialize an SVG document from a file
using (var document = new SVGDocument(Path.Combine(DataDir, "source.svg")))
{
// Create an instance of the ImageSaveOptions class
var pngSaveOptions = new ImageSaveOptions();
// Convert SVG to PNG
Converter.ConvertSVG(document, pngSaveOptions, Path.Combine(OutputDir, "result.png"));
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Aspose.SVG (>= 24.10.0)
- BitMiracle.LibTiff.NET (>= 2.4.649)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- SkiaSharp (>= 2.88.6)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Drawing.Common (>= 4.7.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 455 | 10/30/2024 |
24.9.0 | 195 | 9/19/2024 |
24.8.0 | 338 | 8/22/2024 |
24.7.0 | 319 | 7/18/2024 |
24.6.0 | 151 | 6/17/2024 |
24.5.0 | 154 | 5/3/2024 |
24.4.0 | 543 | 4/5/2024 |
24.3.0 | 250 | 3/6/2024 |
24.2.0 | 280 | 2/11/2024 |
24.1.0 | 469 | 1/18/2024 |
23.12.0-beta | 362 | 12/17/2023 |
23.11.0-beta | 344 | 12/3/2023 |
23.10.0-beta | 362 | 10/25/2023 |
23.9.0-beta | 341 | 9/18/2023 |
23.8.1-beta | 499 | 8/12/2023 |
23.7.0-beta | 358 | 7/27/2023 |
23.6.0-beta | 342 | 6/29/2023 |