img

package
v0.0.0-...-e589c2c Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayGif

func DisplayGif(fps int, src gif.GIF, scale float64)

DisplayGif displays a gif.GIF at an integer fps, with a float64 scale.

func DisplayImage

func DisplayImage(src image.Image)

DisplayImage renders an image.Image using ASCII text in the console

func OpenGif

func OpenGif(path string) gif.GIF

OpenGif opens a gif from a path and returns a gif.GIF object

func OpenImage

func OpenImage(path string) image.Image

OpenImage opens an image from a path and returns an image.Image object

func ResizeImage

func ResizeImage(src image.Image, amount float64) image.Image

ResizeImage resizes an image.Image object by multiplying its size by a float64 value. Uses nearest neighbor interpolation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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