TheHardew / compress_comics

A script to compress cbz/cbr comics with jpeg xl
The Unlicense
7 stars 0 forks source link

Use python libraries instead of subprocesses #2

Closed TheHardew closed 8 months ago

TheHardew commented 8 months ago

Use libraries instead of zip, unrar and possibly cjxl. cjxl may be problematic, since the program supports passing flags to it zip requires custom codepage GB18030 for kanji support

TheHardew commented 8 months ago

Only cjxl is left. Need to determine if it's possible to use some library instead of the binary.

TheHardew commented 8 months ago

Seems there is no good replacement for that, even ffmpeg is limited.
The user will just have to install libjxl manually.