How aragajaga/paniview works
PaniView is a lightweight Windows image viewer. Its main workflow is opening an image (including a shell-supplied path), decoding and converting it with Windows Imaging Component (WIC), then displaying it through a Direct2D-backed window. The UI also exposes navigation, zoom/fit, file operations, and settings. The sampled source shows the application and rendering code concentrated in paniview.c; the README is brief, so detailed wiring for unsampled features is not assumed.
Main entry points: paniview.c Viewer commands
Components 17
Window interface
- Main frame
paniview.c - Viewer commands
paniview.c - Settings and dialogs
paniview.c - File operations
paniview.c
Image display
- Open and identify
paniview.c - WIC decode
paniview.c - Pixel conversion
paniview.c - Image renderer
paniview.c - Image navigation
paniview.c
Application state
- Settings management
paniview.c
Other components
- Viewer user
- Image file
- Windows Imaging Component
- Direct2D
- Displayed image
- Settings file
- Windows filesystem
Connections 19
- Viewer user → Main frame: uses
- Main frame → Viewer commands: dispatches
- Main frame → Settings and dialogs: opens
- Viewer commands → Open and identify: opens image
- Open and identify → Image file: reads
- Open and identify → Windows filesystem: checks file
- Open and identify → WIC decode: selects decoder
- WIC decode → Windows Imaging Component: decodes
- WIC decode → Pixel conversion: provides bitmap
- Pixel conversion → Windows Imaging Component: converts pixels
- Pixel conversion → Image renderer: provides bitmap
- Image renderer → Direct2D: draws with
- Image renderer → Displayed image: renders
- Viewer commands → Image navigation: navigates
- Viewer commands → Image renderer: controls view
- Viewer commands → File operations: invokes
- Settings and dialogs → Settings management: edits
- Settings management → Settings file: reads and writes
- Settings management → Windows filesystem: locates data