mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 15:52:38 +02:00
hide processing params for passthrough
This commit is contained in:
parent
b10e9b1808
commit
c2ea8ff5b9
@ -178,9 +178,9 @@ func (o *Options) ShowConfig() string {
|
||||
{"Profile", profileDesc, true},
|
||||
{"Format", o.Image.Format, true},
|
||||
{"Quality", o.Image.Quality, o.Image.Format == "jpeg"},
|
||||
{"Grayscale", o.Image.GrayScale, true},
|
||||
{"Grayscale mode", grayscaleMode, o.Image.GrayScale},
|
||||
{"Crop", o.Image.Crop.Enabled, true},
|
||||
{"Grayscale", o.Image.GrayScale, o.Image.Format != "copy"},
|
||||
{"Grayscale mode", grayscaleMode, o.Image.Format != "copy" && o.Image.GrayScale},
|
||||
{"Crop", o.Image.Crop.Enabled, o.Image.Format != "copy"},
|
||||
{"Crop ratio",
|
||||
utils.IntToString(o.Image.Crop.Left) + " Left - " +
|
||||
utils.IntToString(o.Image.Crop.Up) + " Up - " +
|
||||
@ -188,15 +188,15 @@ func (o *Options) ShowConfig() string {
|
||||
utils.IntToString(o.Image.Crop.Bottom) + " Bottom - " +
|
||||
"Limit " + utils.IntToString(o.Image.Crop.Limit) + "% - " +
|
||||
"Skip " + utils.BoolToString(o.Image.Crop.SkipIfLimitReached),
|
||||
o.Image.Crop.Enabled},
|
||||
{"Brightness", o.Image.Brightness, o.Image.Brightness != 0},
|
||||
{"Contrast", o.Image.Contrast, o.Image.Contrast != 0},
|
||||
{"Auto contrast", o.Image.AutoContrast, true},
|
||||
{"Auto rotate", o.Image.AutoRotate, true},
|
||||
{"Auto split double page", o.Image.AutoSplitDoublePage, o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility},
|
||||
{"Keep double page if split", o.Image.KeepDoublePageIfSplit, (o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility) && o.Image.AutoSplitDoublePage},
|
||||
{"Keep split double page aspect", o.Image.KeepSplitDoublePageAspect, (o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility) && o.Image.AutoSplitDoublePage},
|
||||
{"No blank image", o.Image.NoBlankImage, true},
|
||||
o.Image.Format != "copy" && o.Image.Crop.Enabled},
|
||||
{"Brightness", o.Image.Brightness, o.Image.Format != "copy" && o.Image.Brightness != 0},
|
||||
{"Contrast", o.Image.Contrast, o.Image.Format != "copy" && o.Image.Contrast != 0},
|
||||
{"Auto contrast", o.Image.AutoContrast, o.Image.Format != "copy"},
|
||||
{"Auto rotate", o.Image.AutoRotate, o.Image.Format != "copy"},
|
||||
{"Auto split double page", o.Image.AutoSplitDoublePage, o.Image.Format != "copy" && (o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility)},
|
||||
{"Keep double page if split", o.Image.KeepDoublePageIfSplit, o.Image.Format != "copy" && (o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility) && o.Image.AutoSplitDoublePage},
|
||||
{"Keep split double page aspect", o.Image.KeepSplitDoublePageAspect, o.Image.Format != "copy" && (o.Image.View.PortraitOnly || !o.Image.AppleBookCompatibility) && o.Image.AutoSplitDoublePage},
|
||||
{"No blank image", o.Image.NoBlankImage, o.Image.Format != "copy"},
|
||||
{"Manga", o.Image.Manga, true},
|
||||
{"Has cover", o.Image.HasCover, true},
|
||||
{"Limit", utils.IntToString(o.LimitMb) + " Mb", o.LimitMb != 0},
|
||||
@ -204,7 +204,7 @@ func (o *Options) ShowConfig() string {
|
||||
{"Sort path mode", sortpathmode, true},
|
||||
{"Foreground color", "#" + o.Image.View.Color.Foreground, true},
|
||||
{"Background color", "#" + o.Image.View.Color.Background, true},
|
||||
{"Resize", o.Image.Resize, true},
|
||||
{"Resize", o.Image.Resize, o.Image.Format != "copy"},
|
||||
{"Aspect ratio", aspectRatio, true},
|
||||
{"Portrait only", o.Image.View.PortraitOnly, true},
|
||||
{"Title page", titlePage, true},
|
||||
|
Loading…
x
Reference in New Issue
Block a user