Configuration Reference
Configuration Reference
Section titled “Configuration Reference”Complete reference for all ImageChunker settings and configuration options.
Application Settings
Section titled “Application Settings”Access via ImageChunker → Settings (⌘,)
General
Section titled “General”| Setting | Options | Default | Description |
|---|---|---|---|
| Theme | System, Light, Dark | System | Application appearance |
| Show in Dock | On, Off | On | Show Dock icon |
| Show in Menu Bar | On, Off | Off | Show menu bar icon |
| Launch at Login | On, Off | Off | Start with macOS |
| Check for Updates | On, Off | On | Automatic update checks |
Processing
Section titled “Processing”| Setting | Options | Default | Description |
|---|---|---|---|
| Default Mode | Smart, Regular | Smart | Processing mode for new images |
| GPU Acceleration | On, Off | On | Use Metal for processing |
| Memory Limit | Auto, 2GB, 4GB, 8GB | Auto | Maximum memory usage |
| Parallel Processing | 1-8 threads | Auto | Concurrent batch processing |
| Cancel on Error | On, Off | Off | Stop batch on first error |
Smart Chunking
Section titled “Smart Chunking”| Setting | Range | Default | Description |
|---|---|---|---|
| Sensitivity | Low, Medium, High | Medium | Boundary detection aggressiveness |
| Min Chunk Height | 50-2000px | 200px | Minimum height per chunk |
| Text Detection | On, Off | On | Avoid splitting text |
| Face Detection | On, Off | On | Keep faces intact |
| Edge Threshold | 0.1-0.9 | 0.5 | Edge detection sensitivity |
Export
Section titled “Export”| Setting | Options | Default | Description |
|---|---|---|---|
| Default Format | PNG, JPEG, HEIC | PNG | Output format |
| JPEG Quality | 1-100% | 90% | Compression level |
| HEIC Quality | 1-100% | 85% | Compression level |
| Color Profile | Preserve, sRGB, Remove | Preserve | Color management |
| Include Metadata | All, Strip GPS, None | Strip GPS | Metadata handling |
| Default Location | Same folder, Subfolder, Ask | Subfolder | Where to save |
| Naming Pattern | Custom | {original}_{num} | File naming |
Finder Extension
Section titled “Finder Extension”| Setting | Options | Default | Description |
|---|---|---|---|
| Quick Process | On, Off | Off | Process without opening app |
| Output Location | Same, Subfolder, Ask | Ask | Where to save chunks |
| Auto-Launch | Always, If Closed, Never | If Closed | When to open app |
| Show Badge | On, Off | On | Finder badge on source files |
Configuration File
Section titled “Configuration File”ImageChunker stores settings in:
~/Library/Preferences/com.griffin.ImageChunker.plistViewing Settings
Section titled “Viewing Settings”# View all settingsdefaults read com.griffin.ImageChunker
# View specific settingdefaults read com.griffin.ImageChunker defaultModeModifying Settings
Section titled “Modifying Settings”# Set default modedefaults write com.griffin.ImageChunker defaultMode -string "smart"
# Set JPEG qualitydefaults write com.griffin.ImageChunker jpegQuality -int 90
# Enable GPU accelerationdefaults write com.griffin.ImageChunker gpuAcceleration -bool trueResetting Settings
Section titled “Resetting Settings”# Reset all settings to defaultsdefaults delete com.griffin.ImageChunkerEnvironment Variables
Section titled “Environment Variables”ImageChunker respects these environment variables:
| Variable | Purpose | Example |
|---|---|---|
IMAGECHUNKER_DEBUG | Enable debug logging | 1 |
IMAGECHUNKER_NO_GPU | Disable GPU acceleration | 1 |
IMAGECHUNKER_MEMORY_LIMIT | Override memory limit | 4096 (MB) |
Command Line Arguments
Section titled “Command Line Arguments”Launch ImageChunker with arguments:
# Open with specific fileopen -a ImageChunker ~/image.png
# Open with multiple files (batch)open -a ImageChunker ~/images/*.png
# Process and quitopen -a ImageChunker --args --process --quit ~/image.pngAvailable Arguments
Section titled “Available Arguments”| Argument | Description |
|---|---|
--process | Process immediately |
--quit | Quit after processing |
--output DIR | Set output directory |
--mode smart|regular | Set chunking mode |
--format png|jpeg|heic | Set output format |
--quality N | Set quality (1-100) |
Presets
Section titled “Presets”Creating Presets
Section titled “Creating Presets”- Configure all settings
- File → Save Preset (⌘⇧S)
- Enter preset name
- Preset saved to:
~/Library/Application Support/ImageChunker/Presets/
Preset File Format
Section titled “Preset File Format”{ "name": "Instagram Square", "version": 1, "settings": { "mode": "regular", "chunkWidth": 1080, "chunkHeight": 1080, "format": "jpeg", "quality": 90, "colorProfile": "srgb" }}Importing Presets
Section titled “Importing Presets”- File → Import Preset
- Select
.imagechunkerpresetfile - Preset appears in presets menu
Exporting Presets
Section titled “Exporting Presets”- File → Export Preset
- Choose preset to export
- Save
.imagechunkerpresetfile
URL Schemes
Section titled “URL Schemes”ImageChunker responds to URL schemes:
imagechunker://open?file=/path/to/image.pngimagechunker://process?file=/path/to/image.png&mode=smartimagechunker://batch?folder=/path/to/imagesParameters
Section titled “Parameters”| Parameter | Description | Values |
|---|---|---|
file | File path | URL-encoded path |
folder | Folder path | URL-encoded path |
mode | Processing mode | smart, regular |
format | Output format | png, jpeg, heic |
quality | Quality | 1-100 |
output | Output path | URL-encoded path |
Security Settings
Section titled “Security Settings”Sandbox Permissions
Section titled “Sandbox Permissions”ImageChunker runs in macOS App Sandbox with:
- User-selected files: Read/Write access
- Downloads folder: Read/Write access
- Pictures folder: Read access
- Network: None (privacy)
Granting Permissions
Section titled “Granting Permissions”If permission dialogs appear:
- Click Allow for file access
- Settings persist in:
~/Library/Containers/com.griffin.ImageChunker/Data/Library/Preferences/
Security-Scoped Bookmarks
Section titled “Security-Scoped Bookmarks”For remembered folder access:
- Stored encrypted by macOS
- Re-validated on each launch
- Can be revoked in System Settings
Logging
Section titled “Logging”Enable Debug Logging
Section titled “Enable Debug Logging”# Set environment variableexport IMAGECHUNKER_DEBUG=1
# Or use defaultsdefaults write com.griffin.ImageChunker debugLogging -bool trueLog Location
Section titled “Log Location”~/Library/Logs/ImageChunker/├── imagechunker.log├── processing.log└── finder-extension.logViewing Logs
Section titled “Viewing Logs”# Real-time log viewinglog stream --predicate 'subsystem == "com.griffin.ImageChunker"'
# Historical logslog show --predicate 'subsystem == "com.griffin.ImageChunker"' --last 1hCache Location
Section titled “Cache Location”~/Library/Caches/com.griffin.ImageChunker/Clearing Cache
Section titled “Clearing Cache”In App: Settings → Advanced → Clear Cache
Command Line:
rm -rf ~/Library/Caches/com.griffin.ImageChunker/Cache Size Limit
Section titled “Cache Size Limit”Configure maximum cache size:
defaults write com.griffin.ImageChunker cacheLimit -int 500 # MB