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 output_directory
To check all program options:
compress_comics -h
Needs cjxl
installed and in PATH.
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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2944bdf46488883485f472ca90c5f5ebd31a5412b3cebffbd048c978c350fd |
|
MD5 | 32d8081bdb3596b1ad0b658d9c51d229 |
|
BLAKE2b-256 | 22c9d6ed968fa2b7c0a1f34df1bb5e1f5c5fdb3bd5f2fc53d0512f9643df77b5 |
Close
Hashes for compress_comics_thehardew-0.4.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0646ab05f102d3a4e03772c559780a5ec9a65eb92f16e79f29f793cfabb5baf3 |
|
MD5 | 99a1ac6f5d4c9aa1330fe9255c739052 |
|
BLAKE2b-256 | a5037b5b7f2bdf5df063cd4e1ace0ef71a8fda246c2db39106dfa679658ae0a0 |