Installation¶
pixopt requires Python 3.9 or newer.
From PyPI (recommended)¶
This installs the core package with Pillow, Typer, Rich, and piexif.
With HEIC/HEIF support¶
If you need to process iPhone photos (HEIC/HEIF), install the optional dependency:
Or install the extra directly:
Note
pillow-heif may require additional system libraries on Linux. See the pillow-heif documentation for platform-specific instructions.
System dependencies¶
macOS¶
No extra system dependencies are required. Homebrew users may optionally install:
Linux (Debian/Ubuntu)¶
Windows¶
No extra system dependencies are required. HEIC/HEIF support works out of the box via pillow-heif wheels.
From source¶
For development or bleeding-edge features:
git clone https://github.com/MathiasPaulenko/pixopt.git
cd pixopt
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
Verify installation¶
You should see the CLI help output with all available commands.
Troubleshooting¶
ModuleNotFoundError: No module named 'pixopt'¶
Make sure you are in the correct virtual environment and that the package was installed successfully:
HEIC/HEIF images fail to open¶
Install pillow-heif and ensure your Pillow version is 10.0.0 or newer:
Permission errors on Linux¶
If you see permission errors when installing, use --user or a virtual environment: