#comic #command-line #convert #convert-images #command-line-tool #cbz #cb7

bin+lib comiconv

A command line tool to convert comic book archives to other formats

13 releases

0.4.0 Nov 12, 2024
0.3.3 May 5, 2024
0.3.2 Feb 1, 2024
0.3.1 Jan 31, 2024
0.1.3 Mar 21, 2023

#1297 in Command line utilities

Download history 11/week @ 2024-09-23 6/week @ 2024-10-14 9/week @ 2024-11-04 116/week @ 2024-11-11 16/week @ 2024-11-18

141 downloads per month
Used in comiconv-server

Apache-2.0 OR MIT

57KB
474 lines

Comiconv

Comic book converter written in rust.

Features

  • reads 7Z/CB7, TAR/CBT and ZIP/CBZ
  • saves in the same archive format as input
  • can convert images to JPEG, JPEGXL, PNG, WEBP and AVIF
  • can convert locally or on a server running comiconv-server

Installation

You can install comiconv through cargo:

cargo install comiconv

Usage

Usage: comiconv [OPTIONS] <FILES>...

Arguments:
  <FILES>...  Files to convert

Options:
  -s, --speed <VALUE>     Set speed: 0 (Slowest) - 10 (Fastest) (0-2 for png)
  -q, --quality <VALUE>   Set quality 0 (Worst) - 100 (Best) (ignored for webp, it's always lossless)
  -f, --format <VALUE>    Set format (avif, webp, jpeg, jxl, png)
      --quiet             Suppress progress messages
      --backup            Keep backup of original file
      --server <ADDRESS>  Server for online conversion
  -h, --help              Print help
  -V, --version           Print version

Examples

Convert using default settings:

comiconv path/to/file

Convert to jpeg with quality 80:

comiconv -f jpeg -q 80 path/to/file

Dependencies

~20–30MB
~480K SLoC