Display image from internet?

Previous topic - Next topic

BasicMe

If I have a link to a JPEG on the web, is it possible to display it in a GLBasic program?

I want to access and display the latest images & text from an online gallery.  I'm able to access a list of their latest files from their XML feed, and grab all the text using NETWEBGET.  But I'm stumped on the images.  Is this something that's possible?

Moebius

If you don't want to decode the jpeg in your code and use MEM2SPRITE, the easiest solution is to save the image as "*.jpg", then use LOADSPRITE...
If you do it this way also, you could make it so your program only downloads the image when it needs to (you can specify a file version or something in the XML feed so it doesn't redownload if the image hasn't changed).
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Ian Price

JPEGs are very buggy in GLBasic - loading and/or using them causes erratic problems.
I came. I saw. I played.