diff options
Diffstat (limited to 'ue2/imgsynth2/test')
| -rw-r--r-- | ue2/imgsynth2/test/input_yellow_man1_indexed8 | 10 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm | 27 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm | 24 |
3 files changed, 61 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 | |||
| 5 | read(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 | |||
| 10 | write(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..6e5fa2c --- /dev/null +++ b/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* XPM */ | ||
| 2 | static char * yellow_man1_default_xpm[] = { | ||
| 3 | "9 17 2 1 0 0 XPMEXT", | ||
| 4 | ". c #000000", | ||
| 5 | "# c #FFF200", | ||
| 6 | ".........", | ||
| 7 | ".........", | ||
| 8 | "...###...", | ||
| 9 | "...###...", | ||
| 10 | "...###...", | ||
| 11 | "....#....", | ||
| 12 | "..#####..", | ||
| 13 | ".#.###.#.", | ||
| 14 | ".#.###.#.", | ||
| 15 | ".#.###.#.", | ||
| 16 | ".#.###.#.", | ||
| 17 | "...#.#...", | ||
| 18 | "...#.#...", | ||
| 19 | "...#.#...", | ||
| 20 | "...#.#...", | ||
| 21 | ".........", | ||
| 22 | "........." | ||
| 23 | "XPMEXT ext1 data1", | ||
| 24 | "XPMEXT ext2", | ||
| 25 | "data2_1", | ||
| 26 | "data2_2", | ||
| 27 | "XPMENDEXT"}; | ||
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 */ | ||
| 2 | static 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 | "..@@@@@@@"}; | ||
