Comic Optimizer is a modern, user-friendly tool for optimizing comic book archives (CBZ) by compressing images and optionally running the pingo optimizer. It features a graphical interface built with ttkbootstrap for easy batch processing of comic folders.
- Batch optimize comic folders into CBZ/CBR/ZIP files
- Select from multiple pingo presets (customizable in
presets.json) - See the exact pingo command that will be run for each preset
- Option to skip pingo optimization
- Modern, easy-to-use GUI
- User settings for theme, font, and more, saved per user in a cross-platform config directory
- pingo v1.24.2+ (must be installed and available in your system PATH)
- Python 3.13+ (if running from source)
- uv (if running from source; for dependency management)
- Go to the GitHub Releases page.
- Download the latest
comic-optimizer-<version>.zipfile for Windows. - Extract the zip file. Inside, you will find a
comic-optimizerfolder. - Open the
comic-optimizerfolder and double-clickcomic-optimizer.exeto launch the GUI.
If you use Scoop on Windows, you can install Comic Optimizer easily:
- Add the bucket containing Comic Optimizer (replace
mybucketwith your preferred local bucket name):scoop bucket add mybucket https://github.com/phnthnhnm/Scoop.git
- Install Comic Optimizer:
scoop install comic-optimizer
- After installation, you can launch Comic Optimizer from the Start Menu or by running:
comic-optimizer
If you want to build the Windows release yourself, simply run:
build.batThis will use uv and Nuitka to create a standalone folder in the dist directory. The output
will be a comic-optimizer folder containing comic-optimizer.exe and all required files. The build script will also
zip this folder for distribution.
- Clone the repository:
git clone https://github.com/phnthnhnm/comic-optimizer.git cd comic-optimizer - Install dependencies using uv:
uv pip install -r pyproject.toml
- Ensure pingo is installed and available in your PATH.
- Run the GUI:
uv run src/main.py
- Launch the application (either from the extracted release folder or from source).
- Click "Browse" to select the root directory containing your comic folders.
- Choose a pingo preset from the dropdown (presets are defined in
presets.json).- The exact command for the selected preset is shown above the dropdown.
- (Optional) Check "Skip pingo" to skip pingo optimization.
- Click "Start" to begin processing. A report will be shown when done.
- To change the theme, font, or other preferences, click the "Settings" menu in the menu bar.
User-specific settings (theme, font, etc.) are saved in a TOML file in a user-writable config directory:
- Windows:
%APPDATA%/comic-optimizer/user_settings.toml - macOS:
~/Library/Application Support/comic-optimizer/user_settings.toml - Linux:
~/.config/comic-optimizer/user_settings.toml
This file is created automatically on first run. You can delete it to reset your preferences.
- Settings dialog does not open in the release:
- Make sure you are using the latest release zip and have extracted all files before running the exe.
- If you see an error about missing modules, ensure you are running
comic-optimizer.exefrom inside the extractedcomic-optimizerfolder.
- Settings are not saved or loaded:
- Check that your user config directory is writable.
- Delete the
user_settings.tomlfile to reset preferences if needed.
- General issues:
- Run the exe from a terminal (e.g.,
cmd.exe) to see error messages.
- Run the exe from a terminal (e.g.,
See LICENSE for details.