Page 1 of 1

Can GE Access images from a URL?

PostPosted: Sun May 05, 2013 9:01 pm
by zichemak
Is it possible to do either of these things in GE at run-time - if so how:

1. Save a remote image file to disc addressed by a URL
2. Display a remote file addressed by a URL to a canvas?

Re: Can GE Access images from a URL?

PostPosted: Mon May 06, 2013 2:20 am
by skydereign
zichemak wrote:Is it possible to do either of these things in GE at run-time - if so how:

1. Save a remote image file to disc addressed by a URL
2. Display a remote file addressed by a URL to a canvas?

No, not in gE. The only url supported action in gE is openUrl, which opens up a url in the default browser.

Re: Can GE Access images from a URL?

PostPosted: Mon May 06, 2013 9:22 am
by zichemak
Is it not even possible to write your own custom code using cURL for instance to do this?

Re: Can GE Access images from a URL?

PostPosted: Wed May 08, 2013 7:15 pm
by skydereign
You could writ e your own, the problem is that gE can't run it in any way. Therefore you would have to make a custom exe to run both the game and your custom code. The game can create files, and pass information to your image getter through, so theoretically it is possible.