mirror of
https://github.com/gen2brain/cbconvert
synced 2025-12-04 23:42:40 +01:00
support thumbnails in file managers
This commit is contained in:
@@ -77,6 +77,7 @@ func parseFlags() (cbconvert.Options, []string) {
|
||||
|
||||
thumbnail := kingpin.Command("thumbnail", "Extract cover thumbnail (freedesktop spec.)")
|
||||
thumbnail.Arg("args", "filename or directory").Required().ExistingFilesOrDirsVar(&args)
|
||||
thumbnail.Flag("outfile", "Output file").Default("").StringVar(&opts.Outfile)
|
||||
thumbnail.Flag("width", "Image width").Default(strconv.Itoa(0)).IntVar(&opts.Width)
|
||||
thumbnail.Flag("height", "Image height").Default(strconv.Itoa(0)).IntVar(&opts.Height)
|
||||
thumbnail.Flag("fit", "Best fit for required width and height").BoolVar(&opts.Fit)
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
{
|
||||
"FileVersion": {
|
||||
"Major": 0,
|
||||
"Minor": 5,
|
||||
"Minor": 6,
|
||||
"Patch": 0,
|
||||
"Build": 0
|
||||
},
|
||||
"ProductVersion": {
|
||||
"Major": 0,
|
||||
"Minor": 5,
|
||||
"Minor": 6,
|
||||
"Patch": 0,
|
||||
"Build": 0
|
||||
},
|
||||
@@ -24,14 +24,14 @@
|
||||
"Comments": "Comic Book converter",
|
||||
"CompanyName": "",
|
||||
"FileDescription": "CBconvert CLI",
|
||||
"FileVersion": "0.5.0",
|
||||
"FileVersion": "0.6.0",
|
||||
"InternalName": "",
|
||||
"LegalCopyright": "",
|
||||
"LegalTrademarks": "",
|
||||
"OriginalFilename": "cbconvert.exe",
|
||||
"PrivateBuild": "",
|
||||
"ProductName": "CBconvert",
|
||||
"ProductVersion": "0.5.0",
|
||||
"ProductVersion": "0.6.0",
|
||||
"SpecialBuild": ""
|
||||
},
|
||||
"VarFileInfo":
|
||||
|
||||
Reference in New Issue
Block a user