- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetGray16 (0.19 sec)
-
src/image/png/reader.go
} nrgba64.SetNRGBA64(x, y, color.NRGBA64{ycol, ycol, ycol, acol}) } } else { for x := 0; x < width; x++ { ycol := uint16(cdat[2*x+0])<<8 | uint16(cdat[2*x+1]) gray16.SetGray16(x, y, color.Gray16{ycol}) } } case cbGA16: for x := 0; x < width; x++ { ycol := uint16(cdat[4*x+0])<<8 | uint16(cdat[4*x+1]) acol := uint16(cdat[4*x+2])<<8 | uint16(cdat[4*x+3])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 26K bytes - Viewed (0) -
src/image/image.go
gray := (19595*uint32(c.R) + 38470*uint32(c.G) + 7471*uint32(c.B) + 1<<15) >> 16 i := p.PixOffset(x, y) p.Pix[i+0] = uint8(gray >> 8) p.Pix[i+1] = uint8(gray) } func (p *Gray16) SetGray16(x, y int, c color.Gray16) { if !(Point{x, y}.In(p.Rect)) { return } i := p.PixOffset(x, y) p.Pix[i+0] = uint8(c.Y >> 8) p.Pix[i+1] = uint8(c.Y) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 34.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Gray16).Gray16At", Method, 4}, {"(*Gray16).Opaque", Method, 0}, {"(*Gray16).PixOffset", Method, 0}, {"(*Gray16).RGBA64At", Method, 17}, {"(*Gray16).Set", Method, 0}, {"(*Gray16).SetGray16", Method, 0}, {"(*Gray16).SetRGBA64", Method, 17}, {"(*Gray16).SubImage", Method, 0}, {"(*NRGBA).At", Method, 0}, {"(*NRGBA).Bounds", Method, 0}, {"(*NRGBA).ColorModel", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)