Skip to content

Commit 3049437

Browse files
authored
Create README.md
1 parent c807492 commit 3049437

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# CBZTool
2+
3+
CBZ tool is an easy command line tool for creating and manipulating Comic Books stored in the .cbz format.
4+
5+
It can extract pages from books, create new books from pages, combine multiple books into one.
6+
7+
## Example usage
8+
9+
Extract all the pages from a book:
10+
```
11+
CBZTool extract MyComic.cbz
12+
```
13+
14+
Create a new book from a folder of images:
15+
```
16+
CBZTool compress MyFolder
17+
```
18+
19+
Combine the first 6 pages of 2 different books:
20+
```
21+
CBZTool extract MyFirstComic.cbz -o Temp -p 1-6
22+
CBZTool extract MySecondComic.cbz -o Temp -p 1-6 -a
23+
CBZTool compress Temp -o MyCombinedComic.cbz
24+
```
25+
26+
Create a copy of a book with improved image quality:
27+
```
28+
CBZTool extract MyComic.cbz -o MyEnhancedComic -denoise -whitebalance
29+
CBZTool compress MyEnhancedComic
30+
```
31+
32+
## All options
33+
34+
```
35+
CBZTool extract PATH... [options]
36+
-o [directory] Specify the directory to extract to (defaults to the input path minus the extension)
37+
-p [range] Specify the range of pages to extract (ex: 1-10 2,4,6 7-*) (default=*)
38+
-a Appends the extracted pages to the end of the directory, instead of replacing them (default=0)
39+
-denoise Runs a noise reduction algorithm on the images when extracting (default=0)
40+
-whitebalance Runs a white balancing algorithm on the images when extracting (default=0)
41+
-metadata Specify that metadata files (tag.txt, ComicInfo.xml) should also be extracted (default=0)
42+
43+
CBZTool compress PATH... [options]
44+
-o [directory] Specify the file to compress to (defaults to the input path with the .cbz extension appended)
45+
-p [range] Specify the range of pages to compress (ex: 1-10 2,4,6 7-*) (default=*)
46+
-a Appends the extracted pages to the end of the archive, instead of replacing it (default=0)
47+
-metadata Specify that metadata files (tag.txt, ComicInfo.xml) should also be added (default=0)
48+
```

0 commit comments

Comments
 (0)