Documentation
¶
Index ¶
- func EqualVisibleViaRGBA(img1, img2 image.Image) bool
- func RandPalette(rng *rand.Rand, sz int) color.Palette
- func RandRGBA(rng *rand.Rand) color.RGBA
- func RandRGBA64(rng *rand.Rand) color.RGBA64
- type CompareResult
- type RandBlocks
- func (r RandBlocks) CMYK(rng *rand.Rand) *image.CMYK
- func (r RandBlocks) NRGBA(rng *rand.Rand) *image.NRGBA
- func (r RandBlocks) NRGBA64(rng *rand.Rand) *image.NRGBA64
- func (r RandBlocks) Paletted(rng *rand.Rand, palette color.Palette) *image.Paletted
- func (r RandBlocks) RGBA(rng *rand.Rand) *image.RGBA
- func (r RandBlocks) RGBA64(rng *rand.Rand) *image.RGBA64
- func (r RandBlocks) YCbCr(rng *rand.Rand) *image.YCbCr
- type Recipe
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualVisibleViaRGBA ¶
Types ¶
type CompareResult ¶
type CompareResult int
const ( CompareSame CompareResult = iota CompareSizeMismatch ComparePixelMismatch )
func CompareVisibleViaRGBA ¶
func CompareVisibleViaRGBA(img1, img2 image.Image) CompareResult
func CompareVisibleViaRGBALoose ¶
func CompareVisibleViaRGBALoose(img1, img2 image.Image, leeway int) CompareResult
type RandBlocks ¶
Click to show internal directories.
Click to hide internal directories.