1
0

configurable input directory

This commit is contained in:
2022-05-01 09:48:37 +02:00
parent e889f5d515
commit b0e7cbbd2f
3 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ func main() {
// command line arguments
flag.StringVar(&ConfigRegister.Method, "blending", "darken", "Blending methods : darken, lighten, fuckyfun")
flag.StringVar(&ConfigRegister.OutputDir, "output", "./", "Output directory")
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.Parse()