Re: Some Help
- Posted by Hawke <mdeland at NWINFO.NET> Nov 07, 1998
- 345 views
Albert Brauneis wrote: > > Here it is, the gif file opens and displays but in the wrong palette: > include pic_load.e > include graphics.e > include image.e > > global procedure gm(integer junk) > if graphics_mode(junk) then > puts(1, "Graphics mode not supported") > end if > end procedure > > global procedure gif(sequence file, sequence were) > sequence junk > junk = read_gif(file) > display_image(were, junk[2]) > all_palette(junk[1]/4) > end procedure ummmm... there's nothing wrong with your code... using the above, and a gif called 'title.gif' i did: gm(18) gif("title.gif",{0,0}) while get_key()=-1 do end while gm(-1) and it did what you would expect... shrug... is it the picture maybe? try another gif...??? --Hawke'