Read_bitmap and Display_picture shows up crazy!
- Posted by David <davidthegnome333 at hotmail.com> Feb 20, 2007
- 499 views
I'm having trouble getting read_bitmap and display_picture to work. Here's my code: include graphics.e include image.e object ii ii = graphics_mode(261) pixel(RED, {40,30}) object carbuncle carbuncle = read_bitmap("C:\\Euphoria\\Pics\\blat.bmp") display_image({100,100},{{7,6,2,46,5,5,5,5,5}, {4,3,23,45,45,45}}) all_palette(carbuncle[1]/4) display_image({200,600},carbuncle[2]) object c c = wait_key() The bitmap shows up, but it's all jumbled up and in the wrong position. This happens with different bitmaps I try, and they are all supposed to be in the right format.