CDS.ImageDisplay.WinForms
3.2.9
See the version list below for details.
dotnet add package CDS.ImageDisplay.WinForms --version 3.2.9
NuGet\Install-Package CDS.ImageDisplay.WinForms -Version 3.2.9
<PackageReference Include="CDS.ImageDisplay.WinForms" Version="3.2.9" />
<PackageVersion Include="CDS.ImageDisplay.WinForms" Version="3.2.9" />
<PackageReference Include="CDS.ImageDisplay.WinForms" />
paket add CDS.ImageDisplay.WinForms --version 3.2.9
#r "nuget: CDS.ImageDisplay.WinForms, 3.2.9"
#:package CDS.ImageDisplay.WinForms@3.2.9
#addin nuget:?package=CDS.ImageDisplay.WinForms&version=3.2.9
#tool nuget:?package=CDS.ImageDisplay.WinForms&version=3.2.9
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 |
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- System.Collections.Immutable (>= 9.0.0)
- System.Text.Json (>= 9.0.0)
-
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.