How saschiwy/heicconverter works
Main Components
a) User Interface Layer
• GUI Interface (heicConverterGui.py)
• CLI Interface (heicConverter.py)
b) Core Processing Layer
• Converter Module (converter.py)
c) File System Integration
• Input: HEIC files
• Output: JPG files
• Metadata handling
Component Relationships
[User] → [GUI/CLI Interface] → [Converter Core] → [File System]
Specific Implementation Details
a) Input Processing:
• File/Directory path handling
• Recursive directory scanning
• File existence checking
b) Conversion Pipeline:
• HEIC file reading
• Metadata extraction
• Image conversion
• JPG file writing
• Optional source file removal
Detailed Component Breakdown
┌─ User Interface Layer ─┐
• ┌─ GUI Interface ─┐ │
• File selection│ │
• Options UI │ │
• ┘ │
• ┌─ CLI Interface ─┐ │
• Arg parsing │ │
• Path handling │ │
• ┘ │
• ┘
• ↓
┌─ Converter Core ──┐
• HEIC processing │
• JPG conversion │
• Metadata handling│
• ┘
• ↓
┌─ File System ────┐
• Input HEIC │
• Output JPG │
• Optional Delete│
• ┘
Additional Elements
• Configuration options (overwrite, recursive, remove source)
• Error handling paths
• Progress feedback loops to UI
• File validation steps
Technical Details to Highlight
• Python-based implementation
• Dependencies (from requirements.txt)
• File format handling (HEIC → JPG)
• Metadata preservation flow
Remember to indicate the bidirectional flow of information between the UI and core converter components for progress updates and error handling.