Module termimage::util
[−]
[src]
Module containing various utility functions.
Statics
ANSI_BG_COLOUR_ESCAPES |
ANSI background colour escapes. |
ANSI_COLOURS |
"Standard" ANSI colours, in the same order as |
BMP_MAGIC |
Magic number used for determining whether an image is a BMP. |
GIF_MAGIC |
Magic number used for determining whether an image is a GIF. |
ICO_MAGIC |
Magic number used for determining whether an image is an ICO. |
JPEG_MAGIC |
Magic number used for determining whether an image is a JPEG. |
PNG_MAGIC |
Magic number used for determining whether an image is a PNG. |
Functions
closest_colour |
Get the closest colour to the provided one out of the specified list of colours and retirn its index. |
mul_str |
Create a string consisting of |