AdvancedImageViewer.WinForms 2.0.0

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

AdvancedImageViewer.WinForms

NuGet Version NuGet Downloads License: MIT .NET Target .NET Framework Target

High-performance image viewer for Windows Forms with smooth pan, precision zoom, dynamic scaling, themes, and optimized rendering.

Advanced Image Viewer Demo Theme Demo

Advanced Image Viewer Demo Theme Demo

Advanced Image Viewer Demo Other Demo

Advanced Image Viewer Demo Other Demo


Overview

AdvancedImageViewer is a modern, high-performance replacement for the standard WinForms PictureBox.

It provides smooth image navigation, high-resolution rendering, customizable themes, and programmatic control over zooming, panning, and overlays.

Built for:

  • .NET Framework 4.7.2+
  • .NET 6.0
  • .NET 8.0+

Features

Performance

  • Double-buffered rendering
  • Premultiplied-ARGB image caching
  • Reduced flickering during panning
  • Optimized rendering for large images
  • Smooth interaction with HD, 4K, and 8K images

Zoom & Pan

  • Scroll-wheel zoom
  • Mouse drag panning
  • Zoom range from 5% to 10000%
  • Automatic image fitting
  • Programmatic zoom control
  • Programmatic panning

Built-in Styles & Themes

  • Styles: DashboardPremium, FluentGlass, MaterialFlat, SoftNeumorphic, Cyberpunk
  • Themes: Built-in Light and Dark mode support.

HUD & Visuals

  • Zoom percentage, Image dimensions, and Cursor X/Y coordinates
  • Optional Crosshair and Scanlines
  • Enhanced image scaling (smooth vs. sharp pixel rendering)

Installation

Package Manager Console

Install-Package AdvancedImageViewer.WinForms

.NET CLI

dotnet add package AdvancedImageViewer.WinForms

Quick Start

Create Viewer

using Podargus.UI.WinForms;

var viewer = new AdvancedImageViewer();
viewer.Dock = DockStyle.Fill;
this.Controls.Add(viewer);

Load Image

// Load synchronously
viewer.LoadFromFile(@"C:\photos\sample.jpg");

// For large images, use asynchronous loading
await viewer.LoadFromFileAsync(@"C:\photos\massive_image.png");

Customization

Theme & Style

viewer.ThemeMode = ThemeMode.Dark;
viewer.ControlStyle = ViewerStyle.Cyberpunk;

HUD & Image Quality

viewer.ShowHud = true;
viewer.ShowCrosshair = true;
viewer.ShowScanlines = true;
viewer.EnhanceImage = true; // true = smooth scaling, false = sharper pixels

Viewport Controls (Zoom & Pan)

viewer.AutoFit();       // Automatically scale and center image
viewer.Zoom = 1.5f;     // Set zoom to 150%
viewer.PanBy(100, 0);   // Move viewport horizontally

Custom Overlays

Use OverlayPaint to draw custom graphics over the image. The viewer automatically converts image coordinates to screen coordinates, so your overlay follows zoom and pan seamlessly.

viewer.OverlayPaint += (s, e) =>
{
    // Define rectangle using RAW image coordinates
    Rectangle rawFaceRect = new Rectangle(500, 200, 300, 300);

    // Convert image coordinates to screen coordinates
    RectangleF screenRect = viewer.ImageToScreenF(rawFaceRect);

    // Draw overlay
    using (Pen pen = new Pen(e.Palette.Accent, 2f))
    {
        e.Graphics.DrawRectangle(pen, screenRect.X, screenRect.Y, screenRect.Width, screenRect.Height);
    }
};

Why AdvancedImageViewer?

Capability PictureBox AdvancedImageViewer
Image display Yes Yes
Smooth pan No Yes
Mouse scroll zoom No Yes
5%–10000% zoom No Yes
Auto fit No Yes
Programmatic pan No Yes
Multiple UI Styles No Yes
Light/Dark themes No Yes
Informational HUD No Yes
Custom overlays Limited Yes
Coordinate conversion No Yes
Async loading No Yes

📝 Release Notes

v2.0.0

  • Rebrand: Transitioned under Podargus (formerly GRIT).
  • Namespace: Root namespace updated to Podargus.UI.WinForms.
  • Performance: Performance and rendering pipeline stability enhancements.

Developed under the Podargus

Building zero-dependency, ultra-performance developer workflows and premium component layouts.

📢 Brand Notice: This package has officially transitioned from GRIT to Podargus. All future updates, performance enhancements, and developer tooling are maintained under the official Podargus.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

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
2.0.0 58 9/20/2026
1.0.1 87 9/13/2026
1.0.0 90 9/10/2026

v2.0.0 Release:
- Rebrand:Transitioned under Podargus (formerly GRIT).
- Namespace: Root namespace updated to `Podargus.UI.WinForms`.
- Performance and rendering pipeline stability enhancements.