- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewGray16 (0.2 sec)
-
src/image/image.go
Rect: r, } } // Opaque scans the entire image and reports whether it is fully opaque. func (p *Gray16) Opaque() bool { return true } // NewGray16 returns a new [Gray16] image with the given bounds. func NewGray16(r Rectangle) *Gray16 { return &Gray16{ Pix: make([]uint8, pixelBufferLength(2, r, "Gray16")), Stride: 2 * r.Dx(), Rect: r, } }
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/image/png/reader.go
img = nrgba case cbG16: bitsPerPixel = 16 if d.useTransparent { nrgba64 = image.NewNRGBA64(image.Rect(0, 0, width, height)) img = nrgba64 } else { gray16 = image.NewGray16(image.Rect(0, 0, width, height)) img = gray16 } case cbGA16: bitsPerPixel = 32 nrgba64 = image.NewNRGBA64(image.Rect(0, 0, width, height)) img = nrgba64 case cbTC16: bitsPerPixel = 48
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NYCbCrA.A", Field, 6}, {"NYCbCrA.AStride", Field, 6}, {"NYCbCrA.YCbCr", Field, 6}, {"NewAlpha", Func, 0}, {"NewAlpha16", Func, 0}, {"NewCMYK", Func, 5}, {"NewGray", Func, 0}, {"NewGray16", Func, 0}, {"NewNRGBA", Func, 0}, {"NewNRGBA64", Func, 0}, {"NewNYCbCrA", Func, 6}, {"NewPaletted", Func, 0}, {"NewRGBA", Func, 0}, {"NewRGBA64", Func, 0}, {"NewUniform", Func, 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)