For a project, I would like to get pictures from Internet and post any to a website (for example after taken a photo).
I didn\'t see anything in AppGameKit commands to do that.
To my opinion, there is 2 ways to do it :
- making http commands like LoadHTTPImage and SendHTTPImage
- making it manually and giving us the ability to do what we want with pictures like taking photo, getting it in a string, saving it in AppGameKit folder, sending it with HTTP to a web server, ...
I think the second way is the best. So what do you think about this idea ?
Would you like to have those commands ?
id = LoadImageFromString(picture$)
LoadImageFromString(id,picture$)
=> create an image ID, like LoadImage, but from a string (when a string contain a valid picture file, of course)
picture$ = SaveImageToString(id,format)
=> create a string and fill it with the \"format\" (as jpeg or png) image source
--
Patrick P.
http://www.gamolf.fr