update readme

This commit is contained in:
Celogeek 2023-04-08 21:05:57 +02:00
parent b1eae59324
commit deea0657bb
Signed by: celogeek
SSH Key Fingerprint: SHA256:njNJLzoLQdbV9PC6ehcruRb0QnEgxABoCYZ+0+aUIYc

162
README.md
View File

@ -109,23 +109,29 @@ $ go-comic-converter -input ~/Downloads/mymanga.cbr -profile KS -auto -manga -li
Go Comic Converter Go Comic Converter
Options: Options:
Input : ~/Downloads/mymanga.cbr Input : ~/Downloads/mymanga.cbr
Output : ~/Downloads/mymanga.epub Output : ~/Downloads/mymanga.epub
Author : GO Comic Converter Author : GO Comic Converter
Title : mymanga Title : mymanga
Workers : 8 Workers : 8
Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray
Quality : 85 Quality : 85
Crop : true Crop : true
Brightness : 0 Brightness : 0
Contrast : 0 Contrast : 0
AutoRotate : true AutoRotate : true
AutoSplitDoublePage: true AutoSplitDoublePage : true
NoBlankPage : false NoBlankPage : false
Manga : true Manga : true
HasCover : true HasCover : true
AddPanelView : false AddPanelView : false
LimitMb : 200 Mb LimitMb : 200 Mb
StripFirstDirectoryFromToc: true
TOC:
- mymanga
- Chapter 1
- Chapter 2
``` ```
## Change default settings ## Change default settings
@ -137,18 +143,19 @@ $ go-comic-converter -show
Go Comic Converter Go Comic Converter
Options: Options:
Profile : Profile :
Quality : 85 Quality : 85
Crop : true Crop : true
Brightness : 0 Brightness : 0
Contrast : 0 Contrast : 0
AutoRotate : false AutoRotate : false
AutoSplitDoublePage: false AutoSplitDoublePage : false
NoBlankPage : false NoBlankPage : false
Manga : false Manga : false
HasCover : true HasCover : true
AddPanelView : false AddPanelView : false
LimitMb : nolimit LimitMb : nolimit
StripFirstDirectoryFromToc: false
``` ```
### Change default settings ### Change default settings
@ -158,20 +165,21 @@ $ go-comic-converter -manga -auto -profile KS -limitmb 200 -save
Go Comic Converter Go Comic Converter
Options: Options:
Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray
Quality : 85 Quality : 85
Crop : true Crop : true
Brightness : 0 Brightness : 0
Contrast : 0 Contrast : 0
AutoRotate : true AutoRotate : true
AutoSplitDoublePage: true AutoSplitDoublePage : true
NoBlankPage : false NoBlankPage : false
Manga : true Manga : true
HasCover : true HasCover : true
AddPanelView : false AddPanelView : false
LimitMb : 200 Mb LimitMb : 200 Mb
StripFirstDirectoryFromToc: false
Saving to ~/.go-comic-converter.yaml Saving to /Users/vincent/.go-comic-converter.yaml
``` ```
If you want to change a setting, you can change only one of them If you want to change a setting, you can change only one of them
@ -181,46 +189,54 @@ $ go-comic-converter -manga=0 -save
Go Comic Converter Go Comic Converter
Options: Options:
Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray
Quality : 85 Quality : 85
Crop : true Crop : true
Brightness : 0 Brightness : 0
Contrast : 0 Contrast : 0
AutoRotate : true AutoRotate : true
AutoSplitDoublePage: true AutoSplitDoublePage : true
NoBlankPage : false NoBlankPage : false
Manga : false Manga : false
HasCover : true HasCover : true
AddPanelView : false AddPanelView : false
LimitMb : 200 Mb LimitMb : 200 Mb
StripFirstDirectoryFromToc: false
Saving to ~/.go-comic-converter.yaml Saving to /Users/vincent/.go-comic-converter.yaml
``` ```
### Check ### Check
You can test the command dry above like You can test the command dry above like
``` ```
$ go-comic-converter -input ~/Downloads/mymanga.cbr -dry $ go-comic-converter -input ~/Downloads/mymanga.cbr -dry
Go Comic Converter Go Comic Converter
Options: Options:
Input : ~/Downloads/mymanga.cbr Input : ~/Downloads/mymanga.cbr
Output : ~/Downloads/mymanga.epub Output : ~/Downloads/mymanga.epub
Author : GO Comic Converter Author : GO Comic Converter
Title : mymanga Title : mymanga
Workers : 8 Workers : 8
Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray Profile : KS - Kindle Scribe - 1860x2480 - 16 levels of gray
Quality : 85 Quality : 85
Crop : true Crop : true
Brightness : 0 Brightness : 0
Contrast : 0 Contrast : 0
AutoRotate : true AutoRotate : true
AutoSplitDoublePage: true AutoSplitDoublePage : true
NoBlankPage : false NoBlankPage : false
Manga : true Manga : false
HasCover : true HasCover : true
AddPanelView : false AddPanelView : false
LimitMb : 200 Mb LimitMb : 200 Mb
StripFirstDirectoryFromToc: false
TOC:
- mymanga
- Chapter 1
- Chapter 2
``` ```
### Reset default ### Reset default
@ -319,6 +335,8 @@ Config:
Add an embeded panel view. On kindle you may not need this option as it is handled by the kindle. Add an embeded panel view. On kindle you may not need this option as it is handled by the kindle.
-limitmb int -limitmb int
Limit size of the ePub: Default nolimit (0), Minimum 20 Limit size of the ePub: Default nolimit (0), Minimum 20
-strip
Strip first directory from the TOC if only 1
Default config: Default config:
-show -show