How theradicaloptimist/imagemixer works
imagemixer is a small interactive Python application for combining two images. Its workflow prompts for image paths and a mixing mode, creates either a checkerboard-style pixel mix or a threshold-mask color composite, then previews the pixel mix and optionally saves it. A separate percentage-blend function exists but is not connected to the mode-selection workflow. The evidence is limited to the README and the two supplied source files.
Main entry points: fonctions.py Image and mode selection · main.py CLI entry
Components 10
User interaction
- CLI entry
main.py - Image and mode selection
fonctions.py
Image mixing
- Pixel pattern mix
fonctions.py - Color mask mix
fonctions.py - Percentage blend
fonctions.py
Preview and save
- Terminal preview
main.py - Preview and save helpers
fonctions.py
Other components
- User
- Image files
- Mixed image
Connections 16
- User → CLI entry: starts
main.py - CLI entry → Image and mode selection: calls
main.py - User → Image and mode selection: provides choices
fonctions.py - Image files → Image and mode selection: provides paths
fonctions.py - Image and mode selection → Pixel pattern mix: dispatches
fonctions.py - Image and mode selection → Color mask mix: dispatches
fonctions.py - Pixel pattern mix → Image files: opens
fonctions.py - Color mask mix → Image files: opens
fonctions.py - Percentage blend → Image files: opens
fonctions.py - Pixel pattern mix → Preview and save helpers: calls preview and save
fonctions.py - Pixel pattern mix → Mixed image: returns
fonctions.py - Color mask mix → Mixed image: returns
fonctions.py - Percentage blend → Mixed image: returns
fonctions.py - CLI entry → Terminal preview: renders result
main.py - Terminal preview → User: displays
main.py - Preview and save helpers → Mixed image: saves optionally
fonctions.py