summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/test
diff options
context:
space:
mode:
Diffstat (limited to 'ue2/imgsynth2/test')
-rw-r--r--ue2/imgsynth2/test/input_yellow_man1_indexed810
-rw-r--r--ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm22
-rw-r--r--ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm24
3 files changed, 56 insertions, 0 deletions
diff --git a/ue2/imgsynth2/test/input_yellow_man1_indexed8 b/ue2/imgsynth2/test/input_yellow_man1_indexed8
new file mode 100644
index 0000000..997cd4f
--- /dev/null
+++ b/ue2/imgsynth2/test/input_yellow_man1_indexed8
@@ -0,0 +1,10 @@
1#in: test/yellow_man1_xpm_in.xpm
2#out: test/yellow_man1_xpm_out.xpm
3#ref: test/yellow_man1_xpm_ref.xpm
4
5read(XPM, test/yellow_man1_indexed8_in.xpm)
6
7#fillrect(0,3,6,5,0,255,0)
8#fillrect(2,13,7,4,0,0,255)
9
10write(XPM, test/yellow_man1_indexed8_out.xpm)
diff --git a/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm b/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm
new file mode 100644
index 0000000..cbfe217
--- /dev/null
+++ b/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm
@@ -0,0 +1,22 @@
1/* XPM */
2static char * yellow_man1_default_xpm[] = {
3"9 17 2 1",
4". c #000000",
5"# c #FFF200",
6".........",
7".........",
8"...###...",
9"...###...",
10"...###...",
11"....#....",
12"..#####..",
13".#.###.#.",
14".#.###.#.",
15".#.###.#.",
16".#.###.#.",
17"...#.#...",
18"...#.#...",
19"...#.#...",
20"...#.#...",
21".........",
22"........."};
diff --git a/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm
new file mode 100644
index 0000000..57db73d
--- /dev/null
+++ b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm
@@ -0,0 +1,24 @@
1/* XPM */
2static char * yellow_man1_rgb24_ref_xpm[] = {
3"9 17 4 1",
4". c #000000",
5"# c #FFF200",
6"+ c #00FF00",
7"@ c #0000FF",
8".........",
9".........",
10"...###...",
11"++++++...",
12"++++++...",
13"++++++...",
14"++++++#..",
15"++++++.#.",
16".#.###.#.",
17".#.###.#.",
18".#.###.#.",
19"...#.#...",
20"...#.#...",
21"..@@@@@@@",
22"..@@@@@@@",
23"..@@@@@@@",
24"..@@@@@@@"};