func image.pixelBufferLength
11 uses
image (current package)
image.go#L66: func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
image.go#L172: Pix: make([]uint8, pixelBufferLength(4, r, "RGBA")),
image.go#L289: Pix: make([]uint8, pixelBufferLength(8, r, "RGBA64")),
image.go#L393: Pix: make([]uint8, pixelBufferLength(4, r, "NRGBA")),
image.go#L510: Pix: make([]uint8, pixelBufferLength(8, r, "NRGBA64")),
image.go#L604: Pix: make([]uint8, pixelBufferLength(1, r, "Alpha")),
image.go#L701: Pix: make([]uint8, pixelBufferLength(2, r, "Alpha16")),
image.go#L782: Pix: make([]uint8, pixelBufferLength(1, r, "Gray")),
image.go#L866: Pix: make([]uint8, pixelBufferLength(2, r, "Gray16")),
image.go#L957: Pix: make([]uint8, pixelBufferLength(4, r, "CMYK")),
image.go#L1069: Pix: make([]uint8, pixelBufferLength(1, r, "Paletted")),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |