image

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package image provides a simple interface for loading images from ./assets/images and mods and converting them to ansi strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSearchPaths

func AddSearchPaths(paths ...string)

AddSearchPaths adds additional search paths for images.

func Fetch

func Fetch(name string, options ...imeji.Option) (string, error)

Fetch fetches an image from ./assets/images and converts it to an ansi string.

env EOE_IMG_SIMPLE = 1: Forces the usage of a simpler character set. Can be used for stock cmd on windows.

func ResetSearchPaths

func ResetSearchPaths()

ResetSearchPaths resets the search paths to the default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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