DS.Documents.Imaging
9.2.2
dotnet add package DS.Documents.Imaging --version 9.2.2
NuGet\Install-Package DS.Documents.Imaging -Version 9.2.2
<PackageReference Include="DS.Documents.Imaging" Version="9.2.2" />
<PackageVersion Include="DS.Documents.Imaging" Version="9.2.2" />
<PackageReference Include="DS.Documents.Imaging" />
paket add DS.Documents.Imaging --version 9.2.2
#r "nuget: DS.Documents.Imaging, 9.2.2"
#:package DS.Documents.Imaging@9.2.2
#addin nuget:?package=DS.Documents.Imaging&version=9.2.2
#tool nuget:?package=DS.Documents.Imaging&version=9.2.2
Document Solutions for Imaging
Document Solutions for Imaging (DsImaging, formerly GcImaging) is a fast, powerful imaging API library. It allows developers to do advanced image processing in C# or VB.NET code with no 3rd party dependencies. DsImaging is small and extremely portable, completely written in pure C#. The only dependency is .NET itself.
Features include:
- Programmatically create, load, modify, save or convert raster and vector (SVG) images.
- Read and write JPEG, PNG, WEBP, TIFF, GIF, ICO, BMP and JPEG 2000 (read-only) raster image formats.
- Read and write multi-frame GIF, ICO, and TIFF formats with access to individual frames.
- Load Scalable Vector Graphics (SVG, SVGZ) images into the provided SVG document object model.
- Create from scratch or modify existing SVG images using the SVG DOM.
- Use the same full set of common graphics drawing tools with raster and vector images.
- Rasterize vector images to combine with other graphics.
- Advanced text rendering capabilities, powerful character and paragraph formatting.
- Support for RTL text (including Kashida in Arabic) and bitmap glyphs in OpenType CJK fonts.
- Table layout engine for creating complex grid-based layouts with text and graphics.
- Perform rotate, flip, crop, resize, composite, blend operations.
- Apply Gaussian blur, glow, soft edges, dithering, thresholding and other effects to images.
- Perform advanced processing of color and alpha channels.
- Full programmatic access to EXIF metadata.
DsImaging comes with a powerful client side JavaScript Image Viewer and Editor (DsImageViewer).
DsImaging 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, Linux, Android and iOS.
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.<version>.nupkg sbom/net462/bom.cdx.json # Windows, macOS
unzip ds.documents.imaging.<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/<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
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Numerics.Vectors (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.Buffers (>= 4.6.0)
- System.Memory (>= 4.6.0)
- System.Numerics.Vectors (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
NuGet packages (22)
Showing the top 5 NuGet packages that depend on DS.Documents.Imaging:
| Package | Downloads |
|---|---|
|
DS.Documents.Pdf
Document Solutions for PDF (DsPdf) is a cross-platform library that allows you to create, analyze, and modify PDF documents. Its object model closely follows the Adobe PDF specification, and is designed to provide direct access to features of the PDF format. In addition, DsPdf includes a powerful and platform-independent font handling and text layout engine and other high-level features that make PDF document creation easy and convenient. HTML content can be rendered using the optional DsHtml library (https://www.nuget.org/packages/DS.Documents.Html/). DsPdf is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher. All features are fully supported on Windows, macOS and Linux. The online DsPdf sample browser is available at https://developer.mescius.com/document-solutions/dot-net-pdf-api/demos/. |
|
|
MESCIUS.ActiveReports.Core.Drawing.Gc
ActiveReports rendering with GcDocs implementation |
|
|
MESCIUS.ActiveReports.Core.Document.Drawing.Gc
ActiveReports RDF document GcDoc rendering implementation |
|
|
DS.Documents.Imaging.Windows
This is a platform-specific library allowing other DS.Documents packages to work with system APIs on Windows. It provides support for font linking specified in the Windows registry, and access to native Windows imaging APIs, improving performance and adding some features. |
|
|
DS.Documents.Barcode
Document Solutions Barcode is a cross-platform library providing an object model for creating barcodes, and extension methods for rendering them on a GrapeCity.Documents.Drawing.GcGraphics. An implementation of GcGraphics is provided by DS.Documents.Pdf, which allows rendering barcodes into PDF files. Document Solutions Barcode is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher. All features are fully supported on Windows, macOS and Linux. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.2.2 | 85 | 10/14/2026 |
| 9.2.1 | 9,366 | 9/15/2026 |
| 9.2.0 | 10,423 | 8/31/2026 |
| 9.1.4 | 8,230 | 8/7/2026 |
| 9.1.3 | 16,574 | 7/10/2026 |
| 9.1.2 | 4,343 | 6/24/2026 |
| 9.1.1 | 15,100 | 6/4/2026 |
| 9.1.0 | 14,805 | 5/4/2026 |
| 9.0.4 | 51,598 | 4/9/2026 |
| 9.0.3 | 30,913 | 3/4/2026 |
| 9.0.2 | 2,347 | 2/10/2026 |
| 9.0.1 | 5,077 | 1/26/2026 |
| 9.0.0 | 17,637 | 12/19/2025 |
| 8.2.3 | 24,176 | 12/9/2025 |
| 8.2.2 | 30,040 | 11/19/2025 |
| 8.2.1 | 8,841 | 10/12/2025 |
| 8.2.0 | 136,822 | 8/17/2025 |
| 8.1.5 | 4,141 | 8/7/2025 |
| 8.1.4 | 98,514 | 6/23/2025 |
| 7.2.6 | 56,308 | 8/14/2025 |
# Changes since version 9.2.1:
## Changed
- The ImageSharp code built into the library was updated to version 2.1.11. (DOC-8057)
- Updated the Japanese translations of messages. (DOC-7978)
- The SBOM included in the package is now more complete and accurate. (DOC-7982, DOC-7984, DOC-8042, DOC-8098, DOC-8101, DOC-8102)
- Updated third-party license notices. (DOC-7983, DOC-8044)
- Updated the JPEG 2000 image decoder based on CoreJ2K. (DOC-8041)
## Fixed
- Fixed a potential stack overflow when a malformed, deeply nested license key was parsed (CVE-2024-21907). (DOC-8058)
- Fixed an issue where `GcBitmap.Load` threw an exception ("An attempt to read data beyond the end of the buffer") for images whose EXIF metadata contained an invalid offset. (DOC-7965)
- Fixed an issue where some glyphs in certain TrueType fonts, such as the digits 0 and 8, were rendered incorrectly. (DOC-7980)