pixelweaver/main.go

25 lines
406 B
Go
Raw Normal View History

2022-04-24 14:24:54 +02:00
package main
import (
_ "image/jpeg"
_ "image/png"
2022-05-01 21:30:35 +02:00
"io/ioutil"
"log"
2022-04-24 14:24:54 +02:00
)
func main() {
2022-05-01 21:30:35 +02:00
// store command line arguments into the register
initConfigRegister()
2022-05-01 21:30:35 +02:00
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
2022-04-24 14:24:54 +02:00
2022-05-01 21:30:35 +02:00
// launch main blending routine
pool.BlendImagesMain()
2022-04-24 14:24:54 +02:00
}