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.

Posted

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

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

Posted

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

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