Documentation ¶
Index ¶
- type ImgToANSI
- func (p *ImgToANSI) Fprint(w io.Writer, img image.Image) error
- func (p *ImgToANSI) FprintFile(w io.Writer, fileName string, defaultRGB string) error
- func (p *ImgToANSI) Print(img image.Image) error
- func (p *ImgToANSI) PrintFile(fileName string, defaultRGB string) error
- func (p *ImgToANSI) SetRGB(rgb string) error
- type RGB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImgToANSI ¶
type ImgToANSI struct {
DefaultColor RGB
}
ImgToANSI holds module parameters
func (*ImgToANSI) FprintFile ¶
FprintFile write a file to the Stdout using ANSI codes
Click to show internal directories.
Click to hide internal directories.