bgra

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RAWBGRA_HEADER = []byte("FILE2LLM_RAW_RGBA______%%")

Functions

This section is empty.

Types

type BGRAImage

type BGRAImage struct {
	Width  uint64
	Height uint64
	Stride uint64
	Data   []byte
}

func ReadRAWBGRAImageFromBytes

func ReadRAWBGRAImageFromBytes(fullData []byte) (*BGRAImage, error)

func ReadRAWBGRAImageFromReader

func ReadRAWBGRAImageFromReader(reader io.Reader) (*BGRAImage, error)

func (*BGRAImage) ConvertBGRAtoRGBAInplace

func (img *BGRAImage) ConvertBGRAtoRGBAInplace() *image.RGBA

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL