dithering done :)
This commit is contained in:
15
pkg/dithering/cmd/main.go
Normal file
15
pkg/dithering/cmd/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.nkpl.cc/twocookedfaggots/imageutils/pkg/dithering"
|
||||
"git.nkpl.cc/twocookedfaggots/imageutils/util"
|
||||
)
|
||||
|
||||
func main() {
|
||||
err := util.ProcessStdio(func(img image.Image) image.Image {
|
||||
return dithering.Dithering{img}
|
||||
})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user