From bcadfa267f976fe9f29afa50a635cbe3ea174e38 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 2 May 2009 16:44:53 +0200 Subject: - colortable now uses uint32_t as identifier - rewrote xpm colortable parsing to convert their identifiers to our own and vica vi - implemented indexed8::setpixel/getpixel - moved rowsize to member variable in cbitmap - added second test for xpm/indexed8 --- ue2/imgsynth2/test/input_yellow_man2_indexed8 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ue2/imgsynth2/test/input_yellow_man2_indexed8 (limited to 'ue2/imgsynth2/test/input_yellow_man2_indexed8') diff --git a/ue2/imgsynth2/test/input_yellow_man2_indexed8 b/ue2/imgsynth2/test/input_yellow_man2_indexed8 new file mode 100644 index 0000000..440c653 --- /dev/null +++ b/ue2/imgsynth2/test/input_yellow_man2_indexed8 @@ -0,0 +1,13 @@ +#in: test/yellow_man2_indexed8_in.xpm +#out: test/yellow_man2_indexed8_out.xpm +#ref: test/yellow_man2_indexed8_ref.xpm + +read(XPM, test/yellow_man2_indexed8_in.xpm) + +fillrect(0,3,6,5,0,255,0) +fillrect(2,13,7,4,0,0,255) +mirror_x() +mirror_y() +invert() + +write(XPM, test/yellow_man2_indexed8_out.xpm) -- cgit v1.2.3