imgcat

package
v0.0.0-...-dffe3ca Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package imgcat provides helpers for embedding images (gif, png, jpeg) in the terminal output as suppored by iTerm 2.9+ and documented at https://www.iterm2.com/images.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(r io.Reader, w io.Writer) error

Cat embeds given io.Reader in the given io.Writer

func CatFile

func CatFile(fileName string, w io.Writer) error

CatFile embeds image file in the given io.Writer

func CatImage

func CatImage(i image.Image, w io.Writer) error

CatImage embeds given image.Image in the given io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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