Examples using... color.Gray

Recent
Decode reads a PNG image from r and returns it as an image.Image. The type of Image returned depends on the PNG contents.