Piorun Posted January 29, 2013 Posted January 29, 2013 Hi guys. I want some example how to get an image from url page and save him on my server and then use it as a gui static image. I know i should first use fetchRemote function but what then? Thanks for any advice.
iPrestege Posted January 29, 2013 Posted January 29, 2013 i think this what should to use : callRemote
Piorun Posted January 29, 2013 Author Posted January 29, 2013 Any ideas cause i know that when i use fetchRemote function i can take some "pixels" from this img and i know how to paste this img on screen but i dont know how to save it. I think i should use somethin like fileWrite or something but im not sure.
Moderators Sarrum Posted January 29, 2013 Moderators Posted January 29, 2013 Use: fileCreate fileWrite fileClose
Anderl Posted January 29, 2013 Posted January 29, 2013 If you can get it from a website, why do you need to save it? It's much easier to get picture pixels from an URL. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Piorun Posted January 29, 2013 Author Posted January 29, 2013 I know but i want to create some avatar system and i need to save those images and use them in guiCreateStaticImage function cause i hate drawing functions when i want to do some list . I know those "file" functions but i need some example. Thanks a lot .
Anderl Posted January 29, 2013 Posted January 29, 2013 It's pretty much the same as GUI images. As for examples, they're on respective functions wiki pages. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now