Re: xpm resources

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...
Shian_Lee said...

But if you insist, then just open the JPG file in binary mode and load it into sequence(s), using jpg_image &= sprintf("%d,", getc(fn)).

How do I display that jpg image?

Search for "jpg"/"gif" in http://www.rapideuphoria.com/archive.htm.

Long time ago I used the gif library, and it worked perfectly! I think maybe it was: http://www.rapideuphoria.com/pcxgif.zip

This is another library for jpg (I've never used it): http://www.rapideuphoria.com/jpgdecom.zip

The rest is very simple, you store the sequence in include file and modify the code in the library to input from a string instead of file (look who's teaching who...).

But it works just fine with any type of file.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu