DicomKit.Imaging 1.0.0

dotnet add package DicomKit.Imaging --version 1.0.0
                    
NuGet\Install-Package DicomKit.Imaging -Version 1.0.0
                    
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="DicomKit.Imaging" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DicomKit.Imaging" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="DicomKit.Imaging" />
                    
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 DicomKit.Imaging --version 1.0.0
                    
#r "nuget: DicomKit.Imaging, 1.0.0"
                    
#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 DicomKit.Imaging@1.0.0
                    
#: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=DicomKit.Imaging&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=DicomKit.Imaging&version=1.0.0
                    
Install as a Cake Tool

DicomKit.Imaging

Decode and render DICOM images with DicomKit, in pure managed code on Windows, Linux and macOS (no native binaries).

  • Pixel data: native 1/8/16/32-bit, signed and unsigned, MONOCHROME1/2, RGB (planar 0 and 1), YBR_FULL, YBR_FULL_422, YBR_PARTIAL_422/420, PALETTE COLOR (8 and 16-bit tables), multi-frame and enhanced multi-frame.
  • Codecs: RLE Lossless, JPEG baseline and extended (8/12-bit), JPEG Lossless (process 14 and SV1), JPEG-LS (CharLS.Managed), JPEG 2000 (CoreJ2K). Plug in your own with DicomFrameDecoders.Register.
  • Display pipeline: Rescale Slope/Intercept or Modality LUT, window center/width (LINEAR, LINEAR_EXACT, SIGMOID), VOI LUT Sequence, MONOCHROME1 / Presentation LUT Shape inversion, automatic window when the dataset has none.
  • Export: PNG and baseline JPEG writers, thumbnails.

Getting started

using DicomKit.Imaging;

using var image = await DicomImage.OpenAsync("ct.dcm");
image.WindowCenter = 40;                                   // soft-tissue window, in HU
image.WindowWidth = 400;

await using (var png = File.Create("ct.png"))
    await image.RenderToPngAsync(png);

var thumb = await image.RenderThumbnailAsync(128);         // RgbaFrame, 128 px on the long side
File.WriteAllBytes("thumb.jpg", thumb.ToJpeg(85));

RgbaFrame frame = image.RenderFrame(0, new DicomRenderOptions { WindowCenter = 300, WindowWidth = 1500 });

Licensing

Uses the DicomKit license key (LICENSE.txt in this package): a free Developer key for development and testing (https://dicomkit.plogic.dev/DeveloperKey), a Pro or Enterprise plan for production (https://dicomkit.plogic.dev/Pricing). DicomKit is a developer library, not a medical device.

Third-party codecs: CoreJ2K and CharLS.Managed, both BSD-3-Clause.

Documentation

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DicomKit.Imaging:

Package Downloads
DicomKit.Web.AspNetCore

DICOMweb (PS3.18) server building blocks for ASP.NET Core on DicomKit: app.MapDicomWeb() maps QIDO-RS (with sequence matching), WADO-RS (instances, metadata, frames, bulk data, rendered images and thumbnails, decompression to uncompressed transfer syntaxes), STOW-RS (Part 10 or JSON / XML metadata plus bulk data), the UPS-RS Worklist service and a WADL capabilities resource as minimal-API endpoints over a pluggable IDicomWebStore, with streaming multipart, content negotiation and request size limits. Includes in-memory and file-system reference stores. Requires a license key: free Developer key for development and testing, Pro / Enterprise plans for production (https://dicomkit.plogic.dev).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 120 10/27/2026