Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dan200 authored Dec 17, 2021
1 parent c807492 commit 3049437
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# CBZTool

CBZ tool is an easy command line tool for creating and manipulating Comic Books stored in the .cbz format.

It can extract pages from books, create new books from pages, combine multiple books into one.

## Example usage

Extract all the pages from a book:
```
CBZTool extract MyComic.cbz
```

Create a new book from a folder of images:
```
CBZTool compress MyFolder
```

Combine the first 6 pages of 2 different books:
```
CBZTool extract MyFirstComic.cbz -o Temp -p 1-6
CBZTool extract MySecondComic.cbz -o Temp -p 1-6 -a
CBZTool compress Temp -o MyCombinedComic.cbz
```

Create a copy of a book with improved image quality:
```
CBZTool extract MyComic.cbz -o MyEnhancedComic -denoise -whitebalance
CBZTool compress MyEnhancedComic
```

## All options

```
CBZTool extract PATH... [options]
-o [directory] Specify the directory to extract to (defaults to the input path minus the extension)
-p [range] Specify the range of pages to extract (ex: 1-10 2,4,6 7-*) (default=*)
-a Appends the extracted pages to the end of the directory, instead of replacing them (default=0)
-denoise Runs a noise reduction algorithm on the images when extracting (default=0)
-whitebalance Runs a white balancing algorithm on the images when extracting (default=0)
-metadata Specify that metadata files (tag.txt, ComicInfo.xml) should also be extracted (default=0)
CBZTool compress PATH... [options]
-o [directory] Specify the file to compress to (defaults to the input path with the .cbz extension appended)
-p [range] Specify the range of pages to compress (ex: 1-10 2,4,6 7-*) (default=*)
-a Appends the extracted pages to the end of the archive, instead of replacing it (default=0)
-metadata Specify that metadata files (tag.txt, ComicInfo.xml) should also be added (default=0)
```

0 comments on commit 3049437

Please sign in to comment.