How kenn-tanaka/aldibas works
Aldibas is a Windows desktop image editor. Its primary workflow starts at the application entry point, opens an image into the editing interface, presents it on a canvas, and supports edits and output through the image I/O layer. The source tree also exposes substantial branches for batch export, video, composite images, analysis, display correction, and licensing. Several of these paths are unsampled; their components are included, but uncertain wiring is omitted rather than inferred.
Main entry points: MainFrame.cpp Editor window · Canvas.cpp Canvas renderer · WicImageIO.cpp Raster image I/O · ImageDocument.cpp Image document
Components 22
Application and UI
- Windows entry
src/app/main.cpp - Editor window
src/ui/MainFrame.cpp - App settings
src/ui/AppSettings.cpp - Document tabs
src/ui/DocumentTabStore.cpp
Image editing
- Image document
src/core/ImageDocument.cpp - Image filters
src/core/Filter.cpp - Image geometry
src/core/ImageGeometry.cpp - Selection operations
src/core/SelectionOperations.cpp - Paint strokes
src/core/PaintStroke.cpp - Image compositing
src/core/Composite.cpp - Text overlays
src/ui/TextOverlay.cpp
Display and analysis
- Canvas renderer
src/gfx/Canvas.cpp - Histogram analysis
src/core/Histogram.h - Screen conversion
src/gfx/ScreenResolve.cpp
Import and output
- Raster image I/O
src/io/WicImageIO.cpp - Save output
src/io/SaveOutput.h - Video reading
src/io/VideoReader.cpp - Batch export
src/io/BatchExport.cpp - Animated GIF export
src/io/AnimatedGifExport.cpp - Format codecs
src/io/Avif.cpp - Monitor profiles
src/io/MonitorProfile.cpp
Other components
- User
Connections 23
- User → Windows entry: launches
src/app/main.cpp - Windows entry → Editor window: starts
src/app/main.cpp - Editor window → Canvas renderer: owns
- Editor window → App settings: loads settings
src/ui/MainFrame.cpp - Editor window → Document tabs: manages tabs
- Editor window → Raster image I/O: opens images
- Canvas renderer → Raster image I/O: requests image conversion
- Canvas renderer → Paint strokes: uses strokes
src/gfx/Canvas.cpp - Image document → Paint strokes: applies strokes
src/core/ImageDocument.cpp - Image document → Image geometry: uses geometry
src/core/ImageDocument.cpp - Image document → Selection operations: uses selections
src/core/ImageDocument.cpp - Image document → Histogram analysis: uses analysis
src/core/ImageDocument.cpp - Canvas renderer → Image filters: renders previews
- Canvas renderer → Image compositing: renders composites
- Canvas renderer → Screen conversion: resolves display
- Raster image I/O → Image document: loads image data
- Raster image I/O → Save output: uses save options
src/io/WicImageIO.cpp - Raster image I/O → Monitor profiles: uses monitor profiles
- Video reading → Raster image I/O: decodes frames
src/io/VideoReader.cpp - Editor window → Batch export: offers batch export
- Editor window → Animated GIF export: offers animation export
- Editor window → Format codecs: offers format workflows
- Editor window → Text overlays: offers text editing