new simple downscaling ideas
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "image/color"
|
||||
|
||||
func main() {
|
||||
c1, c2 := color.Black,
|
||||
color.Gray16Model.Convert(color.RGBA{})
|
||||
|
||||
println(c1.RGBA())
|
||||
println(c2.RGBA())
|
||||
println(c1 == c2)
|
||||
}
|
||||
Reference in New Issue
Block a user