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:
-d / --distance 0 (lossless)
-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.
Adjust with:
-t / --threads
Basic usage:
compress_comics -O output_directory
To check all program options:
compress_comics -h
Needs cjxl
installed and in PATH.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
compress_comics-1.0.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for compress_comics-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10236608078b0973599b322f170df0188d293779959d33a7fc1cda9e97c4edfa |
|
MD5 | f264c4db22326eb81784355627359534 |
|
BLAKE2b-256 | 7a76bcd8847c33b00862d14b69715eb2d85729366cd4dbf4aed0a2e811dc45a7 |