Skip to main content

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.

Metadata

Release files for compress-comics 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compress-comics 1.0.0
File Size Uploaded
compress_comics-1.0.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for compress-comics 1.0.0
File Interpreter ABI Platform
compress_comics-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / compress_comics-1.0.0.tar.gz

Download URL compress_comics-1.0.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f47a8ccd22f1aee8f21d480226db3753185f30acbe3d43d3579941137e70ecd6
BLAKE2b-256 checksum
How to use checksums
a22be5f70cba3e5d33d24635a441d3e5eeaf36ee46af3049b175c72e7c014b15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / compress_comics-1.0.0-py3-none-any.whl

Download URL compress_comics-1.0.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10236608078b0973599b322f170df0188d293779959d33a7fc1cda9e97c4edfa
BLAKE2b-256 checksum
How to use checksums
7a76bcd8847c33b00862d14b69715eb2d85729366cd4dbf4aed0a2e811dc45a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.12

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page