Python tool optimized for manga .cbz
files. It efficiently compresses, resizes, and renames files, ensuring optimal storage and clarity while preserving the essence of your favorite manga.
- Compression: The script compresses the
.cbz
files to reduce their file size. - Resizing: Images inside the
.cbz
files are resized if their height is greater than a set limit (e.g., 1024 pixels) while preserving their aspect ratio. - Renaming: The script renames files to remove any content inside parentheses from the filename.
- Python 3.x
- Pillow library:
pip install Pillow
-
Clone the repository:
git clone [your-repo-link] cd [repository-name]
-
Ensure you have the Pillow library installed:
pip install Pillow
-
Put all your
.cbz
files in theinput
folder. -
Run the script:
python script.py