25 lines
406 B
Go
25 lines
406 B
Go
package main
|
|
|
|
import (
|
|
_ "image/jpeg"
|
|
_ "image/png"
|
|
"io/ioutil"
|
|
"log"
|
|
)
|
|
|
|
func main() {
|
|
// store command line arguments into the register
|
|
initConfigRegister()
|
|
|
|
if ConfigRegister.Quiet {
|
|
log.SetOutput(ioutil.Discard)
|
|
|
|
}
|
|
|
|
// pool of workers unionizing, ready to blend a new picture using the power of friendship
|
|
var pool blendWorkerPool
|
|
|
|
// launch main blending routine
|
|
pool.BlendImagesMain()
|
|
}
|