1# Test BMP loader with images from this source: 2# http://wvnvms.wvnet.edu/vmswww/bmp.html (dead link) 3# http://pxd.me/dompdf/www/test/image_bmp.html 4 5[bitmaps] 6test32bfv4 = wvnet/test32bfv4.bmp 7test32v5 = wvnet/test32v5.bmp 8# test4os2v2= wvnet/test4os2v2.bmp 9# OS/2 v2 headers not supported 10trans = wvnet/trans.bmp 11 12[template] 13op0=buf = al_create_bitmap(640, 480) 14op1=al_set_target_bitmap(buf) 15op2=al_clear_to_color(#ff00ff) 16op3=al_set_blender(ALLEGRO_ADD, ALLEGRO_ALPHA, ALLEGRO_INVERSE_ALPHA) 17op4=al_draw_bitmap(bmp, 0, 0, 0) 18op5=al_set_target_bitmap(target) 19op6=al_draw_bitmap(buf, 0, 0, 0) 20 21[test bmpsuite test32bfv4] 22extend=template 23bmp=test32bfv4 24# This image really *is* fully transparent. 25hash=6a451dc5 26 27[test bmpsuite test32v5] 28extend=template 29bmp=test32v5 30hash=f5c38217 31 32[test bmpsuite trans] 33extend=template 34bmp=trans 35hash=da824687 36