Hi,
I'm new to the System.Drawing namespace but have a need to re-size images according to their width and height. Basically the image may be too big for the space so based on a max-width I want to re-size an already uploaded image and display it on the page. I've found a lot of examples for programmatically re-sizing images within code but nothing for how to actually then write the HTML onto the page e.g. using an Image web control. The re-sized image would only need to be temporary, and preferably any examples in C# please.
Thanks.
Tom
I'm new to the System.Drawing namespace but have a need to re-size images according to their width and height. Basically the image may be too big for the space so based on a max-width I want to re-size an already uploaded image and display it on the page. I've found a lot of examples for programmatically re-sizing images within code but nothing for how to actually then write the HTML onto the page e.g. using an Image web control. The re-sized image would only need to be temporary, and preferably any examples in C# please.
Thanks.
Tom
