Image Class
I'm loading a bitmap from a URL location, and I'm trying to resize the picture to fit onto my application -- how would this be done?
This is my code thus far:
WebClient myClient = new WebClient();
Bitmap imgFile = new Bitmap(myClient.OpenRead(@"http://www.url.com/picture.jpg"));
pbImage.Image = (Image)imgFile; // PictureBox
Any help would be greatly appreciated.
Thanks.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

MykonineRank #2,671 · 521 reputationPosted Sep 9, 2004, 1:56 PM EDT
zseml12 reputationPosted Sep 9, 2004, 2:58 PM EDT
cannadbt6 reputationPosted Sep 15, 2004, 7:06 AM EDT