-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenstrip
executable file
·94 lines (82 loc) · 1.31 KB
/
genstrip
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/bin/sh
# two pixels are 5 gcr bits = 1 nibble -> 4 pixels = 1 byte
# skip to data header
#000
# beige line
for i in {1..1280}
do
echo -n "200 160 0 "
done
echo ""
# beige line
for i in {1..1280}
do
echo -n "200 160 0 "
done
echo ""
# beige line
for i in {1..1280}
do
echo -n "200 160 0 "
done
echo ""
# beige line
for l in {1..3}
do
for i in {1..8}
do
echo -n "0 0 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
done
for i in {1..68}
do
echo -n "255 255 255 "
done
#100
# header data byte
echo -n "0 0 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
#104
# 256 data bytes
for i in {1..16}
do
echo -n "0 0 0 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
for j in {1..15}
do
echo -n "220 220 180 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
done
done
#1128
# ckm
echo -n "127 127 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "127 127 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
echo -n "255 255 255 "
# half byte
echo -n "127 127 255 "
echo -n "255 255 255 "
# 3 greens
echo -n "190 255 190 "
echo -n "190 255 190 "
echo -n "190 255 190 "
#1140
for i in {1..139}
do
echo -n "255 255 255 "
done
echo ""
done