Jump to content

Saving img from URL


Piorun

Recommended Posts

Posted

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.

Posted

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.

  • Scripting Moderators
Posted

Use:

fileCreate 
fileWrite 
fileClose 

Posted

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 :).

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...