image/color.Model.Convert (method)
10 uses
image/color (current package)
color.go#L143: Convert(c Color) Color
image
image.go#L144: c1 := color.RGBAModel.Convert(c).(color.RGBA)
image.go#L265: c1 := color.RGBA64Model.Convert(c).(color.RGBA64)
image.go#L382: c1 := color.NRGBAModel.Convert(c).(color.NRGBA)
image.go#L514: c1 := color.NRGBA64Model.Convert(c).(color.NRGBA64)
image.go#L653: p.Pix[i] = color.AlphaModel.Convert(c).(color.Alpha).A
image.go#L760: c1 := color.Alpha16Model.Convert(c).(color.Alpha16)
image.go#L872: p.Pix[i] = color.GrayModel.Convert(c).(color.Gray).Y
image.go#L968: c1 := color.Gray16Model.Convert(c).(color.Gray16)
image.go#L1069: c1 := color.CMYKModel.Convert(c).(color.CMYK)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |