bool2gray Overview Converts a two-dimensional bool slice to a gray scale image. Full API docs The full API docs can be viewed using go’s built in documentation tool, or online at godoc.org.