Re: 16.8 million color euphoria sequence loading

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

[quote mindwalker]

said...

I haven't made the jump to Linux yet, so the answer to why DOS: no title bar, no menu bar, no status bar, no scroll bar, no windows resizing, no windows controlled color palettes, no windows APIs, etc. I want to control my program and the same goes for my graphics. The only problem is that I don't have the background currently to load the many different file formats myself. So I was hoping there was existing code for loading the picture files into Euphoria sequences.

set(window,"decorated",FALSE) takes care of your first 4
set(window,"resizable",FALSE)
gets rid of the next

No palettes required or used.

constant img = create(GtkImage,"/demos/7300.jpg") loads jpg, gif, xpm, and several other formats, just change the filename

See my EuGTK website for some examples: http://etcwebspace.com/users/irvm

said...

Do any of these graphic packages allow you to manipulate the pixels themselves? For instance I wish to take a picture, suck all the red,green,blue out of it and redistribute those colors at maximum intensity into just a few pixels (say at the top, bottom and left of the picture). I also want to be able to totally randomize the placement of the pixels within the picture.

I an nearly certain these things can be done using the GDK libraries, but I haven't done them, no interest. If they are not in the GDK library, there is always ImageMagik which can be called to do almost anything.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu