.NET Standard 2.0 .NET Framework 4.6.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package GrapeCity.Documents.Imaging.Skia --version
NuGet\Install-Package GrapeCity.Documents.Imaging.Skia -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GrapeCity.Documents.Imaging.Skia" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GrapeCity.Documents.Imaging.Skia --version
#r "nuget: GrapeCity.Documents.Imaging.Skia,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GrapeCity.Documents.Imaging.Skia as a Cake Addin
#addin nuget:?package=GrapeCity.Documents.Imaging.Skia&version=

// Install GrapeCity.Documents.Imaging.Skia as a Cake Tool
#tool nuget:?package=GrapeCity.Documents.Imaging.Skia&version=

GrapeCity Documents for Imaging - Skia

GrapeCity.Documents.Imaging.Skia (GcImaging.Skia) is a cross-platform rendering engine for drawing text and graphics. It is based on SkiaSharp and exposes an object model similar to, and interoperable with, classes from GcImaging.

GrapeCity.Documents.Imaging.Skia is compatible with .NET 6, .NET 5, .NET Core 3.x/2.x, .NET Standard 2.x, .NET Framework 4.6.1 or later. All features are fully supported on Windows, macOS and Linux.

The main classes in GcImaging.Skia are GcSkiaBitmap, GcSkiaImage, and GcSkiaGraphics, and can be used instead of their counterparts from GcImaging.

GcSkiaBitmap represents a bitmap in CPU memory. It works similar to GcBitmap, but internally encapsulates an instance of SKBitmap object from SkiaSharp. GcSkiaBitmap can load and save images in JPEG, PNG, and WEBP formats. A GcSkiaBitmap can be converted to a GcBitmap or GcSkiaImage, and vice versa. To draw on a GcSkiaBitmap, call the CreateGraphics() method which returns an instance of the associated GcSkiaGraphics that can be used for drawing.

GcSkiaImage represents an immutable image based on SKImage. It is a lightweight version of GcSkiaBitmap which does not support modifications. A GcSkiaImage can be loaded and saved to the same formats as GcSkiaBitmap. It can also be converted to GcBitmap or GcSkiaBitmap. Both GcSkiaImage and GcSkiaBitmap implement the IImage interface and so can be rendered on an instance of any class derived from GcGraphics.

GcSkiaGraphics is the drawing class derived from GcGraphics. An instance of GcSkiaGraphics can be created directly or from a GcSkiaBitmap. If the GcSkiaGraphics instance was created from a GcSkiaBitmap, it can be disposed when all drawing is done. If the GcSkiaGraphics instance was created directly, ToSkiaImage() or ToGcBitmap() methods can be called on it to get a snapshot of the current drawing.

If drawing text to multiple instances of GcSkiaGraphics make sure to create a single SkiaFontCache object and assign it to the FontCache property of all those instances.


Other GrapeCity Document APIs

Product 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. 
.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 is compatible.  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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
6.1.3 38 6/1/2023
6.1.2 96 5/8/2023
6.1.0 122 4/16/2023
6.0.7 96 4/7/2023
6.0.6 152 3/23/2023
6.0.5 196 2/28/2023
6.0.4 200 2/6/2023
6.0.3 228 1/20/2023
6.0.2 225 1/3/2023
6.0.1 215 12/27/2022
6.0.0 237 12/12/2022 211 12/9/2022 283 11/2/2022 655 10/10/2022 340 9/16/2022 328 8/24/2022 322 8/15/2022

# Changes since version

## Changed
- This is the initial release of GrapeCity.Documents.Imaging.Skia package. (DOC-4107)