DS.Documents.Imaging.Skia
9.2.2
See the version list below for details.
dotnet add package DS.Documents.Imaging.Skia --version 9.2.2
NuGet\Install-Package DS.Documents.Imaging.Skia -Version 9.2.2
<PackageReference Include="DS.Documents.Imaging.Skia" Version="9.2.2" />
<PackageVersion Include="DS.Documents.Imaging.Skia" Version="9.2.2" />
<PackageReference Include="DS.Documents.Imaging.Skia" />
paket add DS.Documents.Imaging.Skia --version 9.2.2
#r "nuget: DS.Documents.Imaging.Skia, 9.2.2"
#:package DS.Documents.Imaging.Skia@9.2.2
#addin nuget:?package=DS.Documents.Imaging.Skia&version=9.2.2
#tool nuget:?package=DS.Documents.Imaging.Skia&version=9.2.2
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
- DsImaging Demos
- JavaScript Image Viewer Demos
- Getting Started
- License Information
- Licensing FAQ
- How to Get Trial Keys
- Online Documentation
- Offline Documentation (PDF)
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
tar(built into Windows 10 and later and macOS) orunzip(Linux) extracts the SBOM from the package - the.nupkgas downloaded from nuget.org, or from the NuGet cache (~/.nuget/packages/ds.documents.imaging.skia/<version>/).sign-sbom --export-keysaves the signing certificate embedded in the SBOM topublic.key.cdx-verifychecks the signature.Signature is valid!means the SBOM has not been changed since it was signed with that certificate.openssl x509shows 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 for PDF .NET
- Document Solutions for PDF JS
- Document Solutions for Word .NET
- Document Solutions for Imaging .NET
- Document Solutions for Excel .NET
- Document Solutions for Excel Java
Document Solutions JavaScript Viewers
| 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. 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. |
-
.NETFramework 4.6.2
- DS.Documents.Imaging (= 9.2.2)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux (>= 2.88.9)
-
.NETStandard 2.0
- DS.Documents.Imaging (= 9.2.2)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux (>= 2.88.9)
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 | 196 | 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 |
# Changes since version 9.2.1:
## Changed
- Updated the Japanese translations of messages. (DOC-7978)
- The SBOM included in the package is now more complete and accurate. (DOC-7984, DOC-8098)