K
Koen Hoorelbeke
Hi there,
I want to read a jpg-file from a url (f.e. http://someserverWhichIsNOTLocal/images/test.jpg), get the dimensions, resize it, save it to my local disk on the webserver as a gif-image and next show it on my own (mobile) pages. (Actually I'm reading some images from my normal website, which is on another machine, resize them, and show them on my mobile site ...).
The main problem lies in reading the image from a url ... can't seem to find how I should do that.
I'd like to be able to do something like :
thumb = System.Drawing.Image.FromFile("http://someserverWhichIsNOTLocal/images/test.jpg")
But unfortunately that doesn't work.
Any ideas?
Thanks in advance.
Greetingz,
Koen Hoorelbeke
(e-mail address removed)
I want to read a jpg-file from a url (f.e. http://someserverWhichIsNOTLocal/images/test.jpg), get the dimensions, resize it, save it to my local disk on the webserver as a gif-image and next show it on my own (mobile) pages. (Actually I'm reading some images from my normal website, which is on another machine, resize them, and show them on my mobile site ...).
The main problem lies in reading the image from a url ... can't seem to find how I should do that.
I'd like to be able to do something like :
thumb = System.Drawing.Image.FromFile("http://someserverWhichIsNOTLocal/images/test.jpg")
But unfortunately that doesn't work.
Any ideas?
Thanks in advance.
Greetingz,
Koen Hoorelbeke
(e-mail address removed)