DS.Documents.Imaging.Skia 9.2.3

dotnet add package DS.Documents.Imaging.Skia --version 9.2.3
                    
NuGet\Install-Package DS.Documents.Imaging.Skia -Version 9.2.3
                    
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="DS.Documents.Imaging.Skia" Version="9.2.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DS.Documents.Imaging.Skia" Version="9.2.3" />
                    
Directory.Packages.props
<PackageReference Include="DS.Documents.Imaging.Skia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DS.Documents.Imaging.Skia --version 9.2.3
                    
#r "nuget: DS.Documents.Imaging.Skia, 9.2.3"
                    
#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.
#:package DS.Documents.Imaging.Skia@9.2.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DS.Documents.Imaging.Skia&version=9.2.3
                    
Install as a Cake Addin
#tool nuget:?package=DS.Documents.Imaging.Skia&version=9.2.3
                    
Install as a Cake Tool

Document Solutions for Imaging - Skia

This 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 Document Solutions for Imaging (DsImaging, formerly GcImaging).

The main classes in this library are GcSkiaBitmap, GcSkiaImage, and GcSkiaGraphics, and can be used instead of their counterparts from DsImaging.

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.

DS.Documents.Imaging.Skia is compatible with .NET 6 or later, .NET Standard 2.x, and .NET Framework 4.6.1 or later.

All features are fully supported on Windows, macOS and Linux.

Resources

Verifying the SBOM

This package carries a CycloneDX software bill of materials (SBOM) for each target framework, at sbom/<tfm>/bom.cdx.json, signed with the MESCIUS inc. code-signing certificate. To verify one, with Node.js and OpenSSL installed (on Windows, OpenSSL comes with Git for Windows):

tar -xf ds.documents.imaging.skia.<version>.nupkg sbom/net462/bom.cdx.json    # Windows, macOS
unzip ds.documents.imaging.skia.<version>.nupkg sbom/net462/bom.cdx.json     # Linux
npx @wynenterprise/sign-sbom@1.0.4 sbom/net462/bom.cdx.json --export-key public.key
npx -p @cyclonedx/cdxgen@12.8.2 cdx-verify -i sbom/net462/bom.cdx.json --public-key public.key
openssl x509 -in public.key -noout -subject -issuer -dates
  1. tar (built into Windows 10 and later and macOS) or unzip (Linux) extracts the SBOM from the package - the .nupkg as downloaded from nuget.org, or from the NuGet cache (~/.nuget/packages/ds.documents.imaging.skia/<version>/).
  2. sign-sbom --export-key saves the signing certificate embedded in the SBOM to public.key.
  3. cdx-verify checks the signature. Signature is valid! means the SBOM has not been changed since it was signed with that certificate.
  4. openssl x509 shows whose certificate it is. The subject should name MESCIUS inc. (O=MESCIUS inc., CN=MESCIUS inc.) and the issuer should be a DigiCert code-signing CA.

Step 3 alone proves only that the SBOM matches the certificate inside it; step 4 ties that certificate to MESCIUS. To also check that it chains to a trusted root, save the issuing DigiCert intermediate and root certificates (DigiCert root and intermediate certificates) as PEM in chain.pem and run openssl verify -CAfile chain.pem public.key. If the certificate has expired since the SBOM was signed, add -attime <seconds>, with the SBOM's metadata.timestamp as seconds since 1970-01-01 UTC.

Document Solutions Products

Document Solutions JavaScript Viewers

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.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 is compatible.  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)
Included target framework(s) (in package)
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
9.2.3 99 11/30/2026
9.2.2 227 10/14/2026
9.2.1 195 9/15/2026
9.2.0 167 8/31/2026
9.1.4 215 8/7/2026
9.1.3 168 7/10/2026
9.1.2 171 6/24/2026
9.1.1 201 6/4/2026
9.1.0 189 5/4/2026
9.0.4 168 4/9/2026
9.0.3 244 3/4/2026
9.0.2 241 2/10/2026
9.0.1 379 1/26/2026
9.0.0 554 12/19/2025
8.2.3 763 12/9/2025
8.2.2 831 11/19/2025
8.2.1 696 10/12/2025
8.2.0 680 8/17/2025
8.1.5 707 8/7/2025
7.2.6 630 8/14/2025
Loading failed

# Changes since version 9.2.2:

## Changed
- Version updated to stay in sync with other Document Solutions packages.