Back to

Package swizzle

v0.0.0 (0022984)
Latest Go to latest
Published: May 13, 2020 | License: BSD-3-Clause | Module:


Package swizzle provides functions for converting between RGBA pixel formats.


Package Files

func BGRA

func BGRA(p []byte)

BGRA converts a pixel buffer between Go's RGBA and other systems' BGRA byte orders.

It panics if the input slice length is not a multiple of 4.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier