Grafit
Fast, minimalist, hardware-accelerated native image viewer for Windows.
Built with Rust, DirectX 11, Direct2D, and D3D11VA.
Grafit is built for instant startup, smooth 120+ FPS navigation, and a minimal memory footprint — even when browsing heavy modern 50 MP smartphone photos (HEIC / JPEG / RAW). No Electron, no web views, no telemetry, and no bloated photo-editor clutter.

| A/B Compare | Format Converter (14 formats) | Modular Settings |
|---|---|---|
![]() |
![]() |
![]() |
Key Features
- Native GPU Pipeline: DirectX 11 & Direct2D rendering with spring-physics pan/zoom, GPU mipmap pyramids, and translucent glass overlays.
- Hardware HEIC / HEVC Decoding: Dedicated D3D11VA video decoder with custom HLSL shaders for near-instant 50 MP HEIC decoding directly on the GPU.
- True HDR & Color Management: Native scRGB HDR output on HDR displays, ISO 21496-1 Gain Map compositing (iPhone HEIC, Android Ultra HDR), and GPU-accelerated 3D LUT (
33×33×33) & parametric ICC profile conversion. - Ultra-Low Memory Footprint:
- ~40–55 MB idle Private Working Set with a 50 MP (
8160×6120) image open. < 500 MBpeak ceiling during full 50 MP zoom pyramid reconstruction.- Proactive
IDXGIDevice3::Trim()immediately returns transient GPU memory to Windows.
- ~40–55 MB idle Private Working Set with a 50 MP (
- A/B Comparison & Thumbnail Grid:
- Side-by-side and split-curtain comparison modes with instant
A ↔ Bswap andB → Apromotion (also launchable by passing two files via CLI). - Fast thumbnail grid (
T) withS / M / Lsizing.
- Side-by-side and split-curtain comparison modes with instant
- Essential Tools — Out of Your Way:
- Lossless Transforms: Dihedral D4 rotation (
Ctrl+R), flip (Ctrl+H), and in-place HEIC/JPEG EXIF orientation updates. - Smart Crop (
C): Rule-of-thirds grid, aspect presets (1:1,4:3,3:2,16:9), Undo/Redo, and separate Save / Save Copy actions. - 14-Format Converter (
Ctrl+Shift+S): Export to JPG, PNG, PDF, HEIC, WebP, AVIF, JPEG XL, TIFF, BMP, GIF, ICO, TGA, QOI, and JPEG XR with clear quality & metadata hints. - EXIF Inspector & Privacy (
I): Clean camera/file metadata panel with one-click Strip Metadata. - Photo Culling & Print: Quick Copy (
F7) / Move (Shift+F7) to a Favorites folder, inline renaming (F2), and a custom live-preview Print dialog (Ctrl+P).
- Lossless Transforms: Dihedral D4 rotation (
- Deeply Customizable UX:
- Independent
UIandKeystoggles for every module — hide buttons to keep the canvas pure while keeping your keyboard shortcuts active. - Configurable mouse wheel, double-click, middle-click, hold-LMB 100% loupe, zoom lock (
L), borderless mode (B), and File Explorer sort-order sync (IShellWindows). - 4 Languages: English, Русский, Español, 简体中文 (auto-detected).
- Independent
Supported Formats
| Category | Formats |
|---|---|
| Standard & Modern | JPEG, PNG, WebP, AVIF, JPEG XL (.jxl), HEIC / HEIF, GIF (animated), BMP, ICO, TIFF, TGA, QOI, JPEG XR, SVG |
| Camera RAW | CR2, NEF, ARW, DNG, RAF, RW2 |
| Export (14 formats) | JPG, PNG, PDF, HEIC, WebP, AVIF, JPEG XL, TIFF, BMP, GIF, ICO, TGA, QOI, JPEG XR |
Download & Installation
Download the latest release from the Releases page:
- Installer (
grafit-*-win-x64-setup.exe) — per-user installation (no admin rights required) with optional Windows file associations. - Portable (
grafit-*-win-x64-portable.zip) — unpack anywhere and run. Portable mode is enabled automatically when an emptyportable.modefile sits next tografit.exe(all settings stay inside the app folder).
Note on Windows SmartScreen
Grafit is an independent open-source project and is not signed with a paid EV code-signing certificate. On first launch, Windows SmartScreen may show a warning (“Windows protected your PC”). Click More info → Run anyway to proceed. All official release binaries include published SHA-256 checksums (SHA256SUMS.txt) and CycloneDX SBOMs (sbom.cdx.json).
Command-Line Usage
# Open a single image
grafit.exe "C:\Photos\shot.heic"
# Open two images directly in A/B Compare mode
grafit.exe "C:\Photos\before.jpg" "C:\Photos\after.jpg"
# Silently register / unregister Windows file associations (HKCU)
grafit.exe --register
grafit.exe --unregister
# Run built-in hardware & codec self-diagnostics
grafit.exe --self-test
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Left / Right |
Previous / Next image |
Mouse Wheel |
Browse or Zoom (configurable; hold Ctrl to invert) |
Hold LMB |
Instant 100% Loupe (when enabled in Settings) |
K |
A/B Image Comparison (Side-by-side / Curtain) |
T |
Thumbnail Grid (S / M / L) |
L |
Lock zoom & pan position across images |
B |
Toggle borderless window mode |
Ctrl+T |
Always on top |
Ctrl+R / Ctrl+H |
Lossless rotate / Flip horizontally |
C |
Interactive Crop |
I |
EXIF Metadata & HDR Info panel |
Ctrl+Shift+S |
Convert / Export format |
Ctrl+P |
Print preview dialog |
F2 |
Inline rename file |
F7 / Shift+F7 |
Copy / Move to Favorites folder |
Del |
Move file to Recycle Bin |
Ctrl+C / Ctrl+V |
Copy / Paste image |
Ctrl+, |
Open Settings |
Building from Source
Prerequisites
- Windows 10 (1809+) or Windows 11 (x64)
- Rust 1.89+ (MSVC toolchain, edition 2024)
- DirectX 11 compatible GPU
Build & Test
git clone https://gitflic.ru/project/z-evdokimow/grafit.git
cd grafit
# Build release binary (automatically stages runtime DLLs)
cargo build --release --locked
# Run unit & integration test suite
cargo test --locked
The compiled executable will be placed in target\release\grafit.exe.
License & Philosophy
Grafit is licensed under the GNU General Public License v3.0 — free for both personal and commercial use. Third-party library notices are listed in THIRD-PARTY-NOTICES.txt.
This is a personal project born from a simple desire to have a fast, clean Windows image viewer without subscriptions, telemetry, or bloat. Basic utilities like this should remain completely free and open to everyone — please respect that spirit and avoid monetizing this app or its forks.


