Metadata-Version: 2.1
Name: compress_comics
Version: 1.0.0
Summary: Compress images in cbz/cbr files with jpegxl, fast.
Project-URL: Homepage, https://github.com/TheHardew/compress_comics
Project-URL: Issues, https://github.com/TheHardew/compress_comics/issues
Author: TheHardew
License-File: LICENSE
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: patool
Requires-Dist: tqdm
Description-Content-Type: text/markdown

## 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.  
