T-IMG is a Terminal Image System.
primarily designed to allow bash scripts to draw simple images.
current version: v4.1 (T-IMG.sh)
(T-COL.sh: v1.1)
62 colors + a blank character code
COLOR CHARACTER CODES.
R=red
B=blue
G=green
1=white
0=black
C=cyan
Y=yellow
P=purple
O=orange
g=grey
v=blue-violet
V=red-violet
p=pink
c=cyan-green
b=blue-green
y=yellow-green
d=dark-green
l=light-green
x=blue-cyan
Q=light-cyan
z=dark-cyan
Z=dark-blue
X=light-blue
A=Light-Yellow
q=dark-yellow
r=dark-red
F=brown
f=tan
K=light-grey
k=dark-grey
E=red-orange
e=orange-yellow
s=SUPER-white
_=blank
M=SUPER-red
m=SUPER-blue
I=SUPER-green
i=SUPER-orange
u=SUPER-Cyan
U=SUPER-purple
W=SUPER-yellow
w=SUB-red
H=SUB-blue
h=SUB-green
2=SUB-Cyan
3=SUB-purple
4=SUB-yellow
5=MEDHIGH-red
6=MEDHIGH-blue
7=MEDHIGH-green
8=MEDHIGH-Cyan
9=MEDHIGH-purple
S=MEDHIGH-yellow
n=light-purple
t=T-Red
o=T-Blue
a=T-Green
j=T-white
T=T-black
D=T-Cyan
J=T-Purple
N=T-Yellow
L=Light Black
T-COL.sh is a in-line variant of T-IMG.sh that is designed to have data piped to it.
piping Codes to T-COL.sh
where
Code: Select all
$TCOL
Code: Select all
echo "RRRR>^BBBB>^GGGG>^!" | $TCOL
Code: Select all
!
Code: Select all
>
Code: Select all
>^
1st line: image Title
2nd line: mode. 1=one character wide color blocks. 2=two character wide color blocks.
the batch of letters numbers and underscores is the image data itself
"!" line ends the image
Code: Select all
Puppy_Linux
2
____________00000000000000____
___________0kKKKKKKKK0kKK10___
___00000000kKKKKKKKKK0kKKK10__
__0kKKKKK10KKKKKKKKKKK0kKK10__
_0kKKKKKK10KKKKKKKKKKK0kKKK10_
_0kKKKKKKK10KKKKKKKKKKK0kK10__
_0kKKKKKKK10KKKKKKKKKKKK0k10__
_0kKKKKKKK10KKKKKKKKKKKKK00___
_0k000000K10KKKKKKKKKKKKK10___
_00KKKKKK00KKKKKKKKKKK000K10__
_0kKKK0000KKKKKKKKKKK0000010__
_0kKK0000000KKKKKKKKK00000K10_
_0kK00000000KKKKKKKKK00000K10_
_0k00000KK000KKKKKKKKK000KK10_
_0k0000KKKK00KKKKKKKKKKKKKK10_
_0k0000KKKK00KKKKK0000KKK0K10_
_0k00000KK000KK0000000KKKK010_
_0kK00000000KK0000000KKKKK010_
_0kK00000000KKKK0000KKKKK0K10_
__0kKK00000KKKKKK000KKKK0010__
__0kKKKKKKKKKKKKKK00KKK00K10__
__0kKKKKKKKKKKKKKK0K0000KK10__
___0kKKKKKKKK0KKK0KKKKKKK10___
___0kKKKKKKKKK000KKKKKKKK10___
____0kKKKKKKKKKKKKKKKKKK10____
_____0kKKKKKKKKKKKKKKKK10_____
_______0kKKKKKKKKKKKK100______
________00kKKKKKKKK100________
__________00kKK10000__________
____________0000______________
!