grayscale option
This commit is contained in:
1
main.go
1
main.go
@ -14,6 +14,7 @@ func main() {
|
||||
flag.StringVar(&ConfigRegister.InputDir, "input", "/home/gator/Photos", "Input directory. Where to look the images from")
|
||||
flag.StringVar(&ConfigRegister.BaseImage, "base-img", "", "Path to the base image to work with. Random image if not set")
|
||||
flag.StringVar(&ConfigRegister.Dimensions, "dimensions", "800x600", "Out image dimensions. <width>x<height>")
|
||||
flag.BoolVar(&ConfigRegister.Grayscale, "grayscale", false, "Output image in shade of gray (around 50)")
|
||||
flag.Parse()
|
||||
|
||||
// set output's width and height
|
||||
|
||||
Reference in New Issue
Block a user