package
1.1.1
Repository: https://github.com/sykesm/pixterm.git
Documentation: pkg.go.dev

# Functions

ClearTerminal clears current terminal buffer using ANSI escape code.
New creates a new empty ANSImage ready to draw on it.
NewFromFile creates a new ANSImage from a file.
NewFromReader creates a new ANSImage from an io.Reader.
NewScaledFromFile creates a new scaled ANSImage from a file.
NewScaledFromReader creates a new scaled ANSImage from an io.Reader.

# Constants

ANSImage scale modes: resize (full scaled to area), fill (resize and crop the image with a center anchor point to fill area), fit (resize the image to fit area, preserving the aspect ratio).
ANSImage scale modes: resize (full scaled to area), fill (resize and crop the image with a center anchor point to fill area), fit (resize the image to fit area, preserving the aspect ratio).
ANSImage scale modes: resize (full scaled to area), fill (resize and crop the image with a center anchor point to fill area), fit (resize the image to fit area, preserving the aspect ratio).

# Variables

ErrInvalidBounds happens when ANSImage height or width are invalid values.
ErrOddHeight happens when ANSImage height is not even value.
ErrOutOfBounds happens when ANSI-pixel coordinates are out of ANSImage bounds.

# Structs

ANSImage represents an image encoded in ANSI escape codes.
ANSIpixel represents a pixel of an ANSImage.