CDS.ImageDisplay.WinForms 3.2.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package CDS.ImageDisplay.WinForms --version 3.2.6
                    
NuGet\Install-Package CDS.ImageDisplay.WinForms -Version 3.2.6
                    
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="CDS.ImageDisplay.WinForms" Version="3.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CDS.ImageDisplay.WinForms" Version="3.2.6" />
                    
Directory.Packages.props
<PackageReference Include="CDS.ImageDisplay.WinForms" />
                    
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 CDS.ImageDisplay.WinForms --version 3.2.6
                    
#r "nuget: CDS.ImageDisplay.WinForms, 3.2.6"
                    
#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 CDS.ImageDisplay.WinForms@3.2.6
                    
#: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=CDS.ImageDisplay.WinForms&version=3.2.6
                    
Install as a Cake Addin
#tool nuget:?package=CDS.ImageDisplay.WinForms&version=3.2.6
                    
Install as a Cake Tool

CDS.ImageDisplay

A Windows Forms library for displaying, zooming, panning, and annotating bitmaps. Designed for imaging and machine-vision applications where you need a responsive, thread-safe image viewer with overlay graphics and interactive region-of-interest selection.

Requirements

  • .NET 10, Windows
  • Windows Forms

Installation

dotnet add package CDS.ImageDisplay.WinForms

Quick start

// Drop BitmapDisplayPanel onto a form (designer or code), then:
bitmapDisplayPanel.DisplayMode = BitmapDisplayMode.FitToWindowCentred;

using var bitmap = new Bitmap("photo.jpg");
bitmapDisplayPanel.SetImage(bitmap);   // safe to call from any thread

Features

Area Summary
Display Zoom/pan, display modes, thread-safe updates, coordinate mapping, custom image sources, paint hooks
Overlays Static shapes (RectangleShape, CircleShape, LineShape, …), DrawingSpec, TextPanelStd
Annotations Interactive freehand annotation, shape recognition, serialization, custom shapes
Regions of interest SingleROIManager, MultipleROIManager, line selection

Solution layout

Project Role
CDS.ImageDisplay.WinForms Library — the NuGet deliverable
UnitTests MSTest + AwesomeAssertions unit tests
BenchmarkTests BenchmarkDotNet benchmarks (Release config)
CDS.ImageDisplay.Demo WinForms demo app (uses OpenCvSharp4)

Building

dotnet build
dotnet test
dotnet pack CDS.ImageDisplay.WinForms

Versioning is handled by MinVer using a V tag prefix (e.g. V2.2.0).

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CDS.ImageDisplay.WinForms:

Package Downloads
CDS.ImageDisplay.OpenCvSharp4

Windows Forms integration for displaying OpenCvSharp4 Mat images on a BitmapDisplayPanel. Handles stride alignment and pixel format conversion (CV_8UC1, CV_8UC3, CV_8UC4) transparently. Provides Mat.Show() for quick modal display and BitmapDisplayPanel.SetImage(Mat) for in-form display.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.11 0 6/12/2026
3.2.10 70 6/11/2026
3.2.9 73 6/11/2026
3.2.8 59 6/11/2026
3.2.7 72 6/9/2026
3.2.6 99 6/8/2026
3.2.5 83 6/8/2026
3.2.3 81 6/8/2026
3.2.2 83 6/8/2026