Piorun Posted January 29, 2013 Share 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. Link to comment
iPrestege Posted January 29, 2013 Share Posted January 29, 2013 i think this what should to use : callRemote Link to comment
Piorun Posted January 29, 2013 Author Share 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. Link to comment
Scripting Moderators Sarrum Posted January 29, 2013 Scripting Moderators Share Posted January 29, 2013 Use: fileCreate fileWrite fileClose Link to comment
Anderl Posted January 29, 2013 Share 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. Link to comment
Piorun Posted January 29, 2013 Author Share 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 . Link to comment
Anderl Posted January 29, 2013 Share Posted January 29, 2013 It's pretty much the same as GUI images. As for examples, they're on respective functions wiki pages. Link to comment
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