image.Paletted.Palette (field)
16 uses
image (current package)
image.go#L1144: Palette color.Palette
image.go#L1147: func (p *Paletted) ColorModel() color.Model { return p.Palette }
image.go#L1152: if len(p.Palette) == 0 {
image.go#L1156: return p.Palette[0]
image.go#L1159: return p.Palette[p.Pix[i]]
image.go#L1163: if len(p.Palette) == 0 {
image.go#L1168: c = p.Palette[0]
image.go#L1171: c = p.Palette[p.Pix[i]]
image.go#L1193: p.Pix[i] = uint8(p.Palette.Index(c))
image.go#L1201: p.Pix[i] = uint8(p.Palette.Index(c))
image.go#L1229: Palette: p.Palette,
image.go#L1237: Palette: p.Palette,
image.go#L1252: for i, c := range p.Palette {
image.go#L1271: Palette: p,
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. |