resizing and saving image
Posted on 2004-04-29
using asp.net (vb) i've successfully uploaded a photo into my image directory.
however, before i save it, i'd like to manipulate the width and height (while maintaining the aspect ratio).
i've tried redefining the object's height and width (i.e. objImage.Width = 150), but the property is Read Only :(
1) after uploading, how would i go about resizing it in vb
2) since the image is currently being saved straight from the upload (i.e. inputPhotoUpload.PostedFile.SaveAs(strFilePathAndName) ....), how would i go about saving it after i muck around with it's properties?
thanks in advance.