sepia, general filter function
This commit is contained in:
@ -18,6 +18,7 @@ type Config struct {
|
||||
OutputWidth int `json:output_width`
|
||||
OutputHeight int `json:output_height`
|
||||
Grayscale bool
|
||||
Sepia bool
|
||||
Amount int
|
||||
Quiet bool
|
||||
}
|
||||
@ -53,6 +54,7 @@ func initConfigRegister() {
|
||||
flag.StringVar(&ConfigRegister.BaseImage, "base-img", "", "Path to the base image to work with. Random image if not set")
|
||||
flag.StringVar(&ConfigRegister.Dimensions, "dimensions", "1280x1024", "Out image dimensions. <width>x<height>")
|
||||
flag.BoolVar(&ConfigRegister.Grayscale, "grayscale", false, "Output image in shade of gray (around 50)")
|
||||
flag.BoolVar(&ConfigRegister.Sepia, "sepia", false, "Output image with sepia tone")
|
||||
flag.IntVar(&ConfigRegister.Amount, "amount", 2, "Number of images to blend together")
|
||||
flag.BoolVar(&ConfigRegister.Quiet, "quiet", false, "No progress messages")
|
||||
flag.Parse()
|
||||
|
||||
Reference in New Issue
Block a user