Compress images in cbz/cbr files with jpegxl, fast.
Project description
compress_comics
Find all the cbz/cbr files in the current directory and subdirectories and compress all the jpg/png/gif images inside with jpeg xl.
Output files preserve the folder structure.
Repacks cbr into cbz.
By default, compresses with:
--brotli_effort 11
-e / --effort 9
-d / --distance 0 (lossless)
-E / --modular_nb_prev_channels 3
-j / --lossless_jpeg 1
Compresses as many images in parallel as there are threads.
Because of that, it may run out of memory on bigger resolutions.
Basic usage:
python compress_comics.py output_directory
To check all program options:
python compress_comics.py -h
Needs cjxl
installed and in PATH.
Needs the patool library.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for compress_comics_thehardew-0.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989e166916f39daf702128386a0f9c5bccf5476e659a04a44a6a8487db342d85 |
|
MD5 | 1d300eba9c62760587bd70afa1c10140 |
|
BLAKE2b-256 | 6c15b6056d15b0fb55b5b8682650ee11643604aded7d09e6f10754379e7ceb96 |
Close
Hashes for compress_comics_thehardew-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d02ca98e3cedea1b38aef505236827407cb6af3c625727d978141cc50d55dce |
|
MD5 | b4d52381408d5b8c6467e4596035c60d |
|
BLAKE2b-256 | 0341c906bb5261b43e2062789a0d17ddcca23cc618bcfc501008f25c6648ed0d |