Skip to main content

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


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_thehardew-0.4.12.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compress_comics_thehardew-0.4.12-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file compress_comics_thehardew-0.4.12.tar.gz.

File metadata

File hashes

Hashes for compress_comics_thehardew-0.4.12.tar.gz
Algorithm Hash digest
SHA256 e80e5087b1b98c893eaed30147d3e9af6cfb5398a0b3d804da4086913ae30fd9
MD5 9c02c66c37e3a9ac57efab61b2c4499b
BLAKE2b-256 60479854e8525265aaf54feb50840231c6e06b4c42934eca57e18dd11423f33e

See more details on using hashes here.

File details

Details for the file compress_comics_thehardew-0.4.12-py3-none-any.whl.

File metadata

File hashes

Hashes for compress_comics_thehardew-0.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 58a2f23f2b5f61484790c89e6cd41ceea7e8b9f64dc40df8ff454b350dc1a00a
MD5 cfe7b0501f7096dda155c8b3bfb76995
BLAKE2b-256 3e83fd59af4a37e7920132b100d51049967028e2e60bf4f531e5dff68502ba78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page