Image Compressor
Tool created by pacing for optimal image compression
Purpose: Professional image compression and conversion tool with multiple distribution options for JPEG, PNG, WEBP, and AVIF formats.
Last verified: January 2026
Account Detailsâ
- Category: DESIGN_CONTENT
- Account type: INTERNAL
- Notes: Tool created by pacing for optimal image compression
- Account owner: Ben Power
- Repository: GitHub
Overviewâ
ImageMagick Pro Converter is a professional image compression and conversion tool developed by Pacing Agency. It offers multiple distribution options to suit different use cases, from development environments to end-user distribution. The tool supports multiple image formats, quality presets, batch processing, and includes an interactive before/after comparison preview.
Project Structureâ
The repository contains three main distribution versions:
01-Developmentâ
Main development version - Use for coding, testing, and adding features.
- Requirements: Python 3.x+, ImageMagick, Pillow
- Usage:
python3 compressor.py(macOS/Linux) orpython compressor.py(Windows) - Best for: Developers, power users, and Windows users (only cross-platform version)
- Location:
01-Development/compressor.py - Platform Support: â Windows, â macOS, â Linux
This is the master version of the script. All other versions are synced from this file. This is the only version that works on Windows.
02-AppleScript-Launcherâ
Native Mac app launcher - Lightweight wrapper that runs the Python script.
- Requirements: Python 3.14+, ImageMagick, Pillow
- Usage: Double-click
Image Compressor (AppleScript).app - Best for: Mac users with development tools installed
- Location:
02-AppleScript-Launcher/ - Platform Support: â macOS only (not compatible with Windows)
Provides a native Mac application experience while still requiring the underlying dependencies.
04-Complete-Standaloneâ
Zero-dependency app - Everything included, works anywhere.
- Requirements: None
- Usage: Double-click
Image Compressor Complete.app - Best for: End-user distribution and sharing (Mac only)
- Location:
04-Complete-Standalone/ - Platform Support: â macOS only (not compatible with Windows)
Fully self-contained application with all dependencies bundled. Ideal for commercial distribution on macOS.
Featuresâ
- Multiple formats: JPEG, PNG, WEBP, AVIF
- Quality presets: Low (30%), Medium (50%), High (80%)
- Image resizing: Fixed width or percentage scaling
- Before/after comparison: Interactive slider preview
- Batch processing: Multiple files at once
- Smart caching: Faster conversions after preview
- Advanced options: PNG optimization, grayscale, sharpening
- Flexible output: Same directory, custom folders, filename parameters
Which Version Should You Use?â
| Use Case | Recommended Version | Why |
|---|---|---|
| Development | 01-Development | Easy to modify and debug |
| Windows users | 01-Development | Only cross-platform version |
| Mac power users | 02-AppleScript-Launcher | Native app, small size |
| End-user sharing (Mac) | 04-Complete-Standalone | Zero dependencies |
| Commercial distribution (Mac) | 04-Complete-Standalone | Professional quality |
Keeping Scripts Syncedâ
IMPORTANT: The main script (compressor.py) in 01-Development/ is the master version. Always sync after changes:
# After making changes to 01-Development/compressor.py
./sync-scripts.sh
# Then rebuild the apps as needed (see individual README files)
Never edit scripts directly in other folders - they get overwritten by the sync script.
Downloading from Repositoryâ
Option 1: Clone the Repository (Recommended for Development)â
git clone https://github.com/Pacing-Agency/imagecompressor.git
cd imagecompressor
Option 2: Download ZIPâ
- Visit: https://github.com/Pacing-Agency/imagecompressor
- Click the green "Code" button
- Select "Download ZIP"
- Extract the ZIP file to your desired location
Option 3: Download Specific Versionâ
- For Windows/Development: Download the
01-Developmentfolder - For Mac (with dev tools): Download the
02-AppleScript-Launcherfolder - For Mac (standalone): Download the
04-Complete-Standalonefolder
Quick Startâ
For Development (Windows/Mac/Linux)â
macOS/Linux:
cd "01-Development"
python3 compressor.py
Windows:
cd "01-Development"
python compressor.py
For Mac End Usersâ
- Download
04-Complete-Standalone/Image Compressor Complete.app - Double-click and use immediately - no setup required
For Windows End Usersâ
See the Running on Windows section below.
Running on Windowsâ
Prerequisitesâ
Before running the Image Compressor on Windows, ensure you have the following installed:
-
Python 3.x
- Download from python.org
- During installation, check "Add Python to PATH"
- Tkinter is usually included with Python on Windows
-
Pillow
- Install via pip:
pip install Pillow - Or:
python -m pip install Pillow
- Install via pip:
-
ImageMagick
- Option 1 (Recommended): Download installer from ImageMagick.org
- Choose the Windows binary release
- During installation, check "Add application directory to your system path"
- Option 2: Use Chocolatey:
choco install imagemagick - Verify installation: Open Command Prompt and run
magick -version
- Option 1 (Recommended): Download installer from ImageMagick.org
Installation Stepsâ
-
Download the repository
git clone https://github.com/Pacing-Agency/imagecompressor.git
cd imagecompressorOr download the ZIP and extract it.
-
Navigate to the development folder
cd "01-Development" -
Install Python dependencies
pip install Pillow -
Verify ImageMagick is accessible
magick -versionIf this command fails, you may need to:
- Restart your terminal/Command Prompt
- Add ImageMagick to your system PATH manually
- Reinstall ImageMagick with the PATH option enabled
Running the Applicationâ
Once all prerequisites are installed:
python compressor.py
Or if you have multiple Python versions:
python3 compressor.py
The application window should open, allowing you to:
- Select images to compress
- Choose quality presets (Low, Medium, High)
- Adjust resize options
- Preview before/after comparisons
- Process images in batch
Troubleshootingâ
Issue: "ImageMagick not found" error
- Ensure ImageMagick is installed and in your system PATH
- Restart your terminal after installing ImageMagick
- Try running
magick -versionin Command Prompt to verify
Issue: Tkinter not available
- Reinstall Python and ensure Tkinter is included
- On some Python distributions, you may need:
pip install tk
Issue: Application won't start
- Check Python version:
python --version(should be 3.x) - Verify Pillow installation:
python -c "import PIL; print(PIL.__version__)" - Check for error messages in the terminal
Windows-Specific Notesâ
- The application uses standard Windows file dialogs
- Mouse wheel scrolling works automatically on Windows
- File paths use Windows-style backslashes (handled automatically by Python)
- The standalone
.appversions (02 and 04) are macOS-only and won't work on Windows - For Windows distribution, you would need to create a Windows executable using PyInstaller
Creating a Windows Executable (Optional)â
If you want to create a standalone Windows executable:
-
Install PyInstaller:
pip install pyinstaller -
Build the executable:
pyinstaller --onefile --windowed --name "Image Compressor" compressor.py -
The executable will be in the
distfolder
Note: You'll still need to ensure ImageMagick is installed on the target Windows machine, or bundle it with the executable (more complex setup).
Build Requirementsâ
For building the standalone versions:
macOS:
- Python 3.14+ with Tkinter
- PyInstaller:
pip install pyinstaller - Pillow:
pip install Pillow - ImageMagick:
brew install imagemagick
Windows:
- Python 3.x with Tkinter
- PyInstaller:
pip install pyinstaller - Pillow:
pip install Pillow - ImageMagick: Download from ImageMagick.org or
choco install imagemagick
Repositoryâ
- GitHub: https://github.com/Pacing-Agency/imagecompressor
- Clone:
git clone https://github.com/Pacing-Agency/imagecompressor.git
Licenseâ
This project is open source. Free to modify and distribute.