1
0
Fork
You've already forked cbz-tools
0
No description
  • Shell 100%
2024年11月24日 10:24:40 +00:00
LICENSES Licencing 2024年11月23日 07:39:17 +00:00
.gitignore Licencing 2024年11月23日 07:39:17 +00:00
cbz-repack Fix repack resize 2024年11月24日 10:24:40 +00:00
pdf-to-cbz Licencing 2024年11月23日 07:39:17 +00:00
README.md Fix readme 2024年11月23日 07:40:54 +00:00
REUSE.toml Licencing 2024年11月23日 07:39:17 +00:00

CBZ Tools

Command-line tools for processing comic archive (CBZ) files.

  • cbz-repack Convert file formats and resize images.
  • pdf-to-cbz Convert PDF documents to CBZ archives. Useful when Humble Bundles of comics only come in a PDF format.

cbz-repack

Reformat and resize images in CBZ files. Converted CBZ files will have the same name as the source CBZ file but with a -{format} in their name. Convert all pages to avif format:

cbz-repack my-comic.cbz

Convert to avif and also scale all pages to be 75% of the original size:

cbz-repack -r 75 my-comic.cbz

Convert to JXL (note: scaling with -r not support for JXL right now):

cbz-repack -f jxl my-comic.cbz

pdf-to-cbz

Extracts pages from a PDF document and converts those pages to JPEG images and then packages the pages in a ZIP archives with a .cbz suffix.

Example usage:

pdf-to-cbz my-comic.pdf

Encode to a different file format (jxl, webp, and avif supported):

pdf-to-cbz -f jxl my-comic.pdf

Encode with a different resolution (default 400 dpi):

pdf-to-cbz -d 300 my-comic.pdf

By default the CBZ file will be produced next to the PDF document but with a .cbz suffix Override the output file path:

pdf-to-cbz -o some/other/path.cbz my-comic.pdf