Re: Psychedelic BMPS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thomas wrote:

On Thu, 24 Aug 2000, Aidan Bindoff wrote:
>
>     include graphics.e
>     include get.e
>     include image.e
>
>     use_vesa(1)
>
>     integer gmode

>     gmode=graphics_mode(18) -- !
-- Note: mode 18 is 640x480 16 color. You won't get "photo"
-- quality out of this. Try for a 256 color mode, such as
-- 256, 257,  259 or 261.  If you can live with 320x200 resolution and 256
-- colors,  use mode 19
-- There's also a hi-color library out there somewhere for more colors.

-- Irv

>     if gmode=1 then
>     puts(1,"Your computer cannot support this program!")
>     end if
>
>     sequence gtitle
>     gtitle=read_bitmap("git.BMP")
>
>     all_palette(gtitle[1]/4)       --    Very important!
>     display_image({1,1}, gtitle [2])
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu