color

package
v0.0.0-...-344c1e1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blur

func Blur(src image.Image) ([]byte, error)

Blur applies a gaussian blur to src and returns PNG bytes.

func Deepfry

func Deepfry(src image.Image) ([]byte, error)

Deepfry oversaturates, over-contrasts, and sharpens src for the classic meme look.

func Earth

func Earth(src image.Image) ([]byte, error)

Earth tints src with a green-blue earth palette (vegetation/water tones).

func Freeze

func Freeze(src image.Image) ([]byte, error)

Freeze tints src with a pale ice-blue palette.

func Ground

func Ground(src image.Image) ([]byte, error)

Ground tints src with a warm soil-brown palette.

func Invert

func Invert(src image.Image) ([]byte, error)

Invert returns src with all RGB channels negated as PNG bytes.

func Night

func Night(src image.Image) ([]byte, error)

Night tints src with a deep navy palette.

func Posterize

func Posterize(src image.Image) ([]byte, error)

Posterize reduces src to posterizeLevels values per RGB channel, evenly spread across 0–255.

func Sepia

func Sepia(src image.Image) ([]byte, error)

Sepia applies the classic warm-tan sepia transform to src.

Types

This section is empty.

Jump to

Keyboard shortcuts

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