Examples using... color.GrayModel.Convert()

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.