How d2phap/imageglass works
ImageGlass is a cross-platform photo viewer with image browsing, rendering, and focused editing tools. The principal workflow is launching a platform app, opening and navigating images, decoding and caching them, then displaying them in the viewer; users can also save or print images and use built-in or external tools. The tree and README establish broad capabilities, while sampled source supports only selected implementation links. Dashed edges mark relationships not verified in the excerpts or source index.
Main entry points: Program.cs Platform Entry · PhotoManager.cs Photo Manager · Core.cs App Core · Photo.cs Photo Model
Components 20
Application
- Platform Entry
source/ImageGlass.Win32/Program.cs - App Core
source/ImageGlass.Lib/Core.cs - Settings
source/ImageGlass.Lib/Settings/Config.cs
Photo Workflow
- Photo Manager
source/ImageGlass.Lib/Common/Photoing/Manager/PhotoManager.cs - Photo Model
source/ImageGlass.Lib/Common/Photoing/Photos/Photo.cs - Codec Registry
source/ImageGlass.Lib/Common/Photoing/Codecs/Registry/CodecRegistry.cs - Skia Codec
source/ImageGlass.Lib/Common/Photoing/Codecs/SkiaCodecs/SkiaCodec.cs - Save Pipeline
source/ImageGlass.Lib/Common/Photoing/Codecs/Registry/CodecEncodePipeline.cs - Photo Cache
source/ImageGlass.Lib/Common/Photoing/Manager/PhotoManager_Caching.cs
Viewing Experience
- Image Viewer
source/ImageGlass.Lib/UI/Viewer/ViewerControl.cs - Photo Renderer
source/ImageGlass.Lib/UI/Viewer/Renderer/PhotoRenderer.cs - Slideshow
source/ImageGlass.Lib/Common/ServiceProviders/SlideshowProvider.cs
Tools and Output
- Built-in Tools
source/ImageGlass.Lib/Tools/Builtins/CropImage/CropImageToolControl.axaml.cs - External Tools
source/ImageGlass.Lib/Tools/External/ToolProcessManager.cs - Plugin System
source/ImageGlass.Lib/Plugins/PluginRegistry.cs - Print Workflow
source/ImageGlass.Lib/Common/Printing/PrintSession.cs
Platform Services
- File Search
source/ImageGlass.Lib/Common/ServiceProviders/FileSearchService/FileSearchProvider.cs - Update Service
source/ImageGlass.Lib/Common/ServiceProviders/UpdateProvider.cs - Platform Adapters
source/ImageGlass.Linux/Common/ServiceProviders/LinuxShellProvider.cs
Other components
- User
Connections 22
- User → Platform Entry: launches
README.md - Platform Entry → App Core: starts
source/ImageGlass.Win32/Program.cs - Platform Entry → File Search: configures
source/ImageGlass.Win32/Program.cs - Platform Entry → Platform Adapters: selects adapters
- User → Image Viewer: views images
- Image Viewer → Photo Manager: requests photos
- Photo Manager → Photo Model: uses
source/ImageGlass.Lib/Common/Photoing/Manager/PhotoManager_Caching.cs - Photo Manager → Photo Cache: caches
source/ImageGlass.Lib/Common/Photoing/Manager/PhotoManager_Caching.cs - Photo Manager → App Core: reads services
source/ImageGlass.Lib/Common/Photoing/Manager/PhotoManager_Caching.cs - Photo Model → Codec Registry: decodes through
- Codec Registry → Skia Codec: selects codec
- Image Viewer → Photo Renderer: renders with
- User → File Search: browses files
- User → Settings: customizes
- User → Slideshow: starts
- User → Built-in Tools: uses
- User → Print Workflow: prints
- Photo Model → Save Pipeline: saves from
source/ImageGlass.Lib/Common/Photoing/Codecs/Registry/CodecEncodePipeline.cs - Save Pipeline → Codec Registry: selects encoder
source/ImageGlass.Lib/Common/Photoing/Codecs/Registry/CodecEncodePipeline.cs - App Core → Plugin System: registers proxies
source/ImageGlass.Lib/Core.cs - App Core → External Tools: registers tools
source/ImageGlass.Lib/Core.cs - User → Update Service: checks updates