Asp.net Image Upload resizing.
Posted on 2004-11-04
Hell, I'm using ASP.net/VB.net to upload an image using "System.Web.UI.HtmlControls.HtmlInputFile". I'm able to upload successfully ensuring that all images are jpeg but I'm looking for a way to determine the size of the image and compressing/resizing the image so I don't allow images that are over 1 meg in size, but I'll also resize it for them using an automated script. Is this possible and does anyone have any tips/samples that could help me get there.
Any help is greatly appreciated.