Hello,
am writing code for upload image file and save it into disc ,,, during this and before save it to disc I want to resize the image into specified width and Heigh
am trying to use this code
if (this.IsValid && this.FileUpload1.HasFile)
{
//Create an ImageElement to wrap up the uploaded image
Neodynamic.WebControls.ImageDraw.ImageElement uploadedImage;
uploadedImage = Neodynamic.WebControls.ImageDraw.ImageElement.FromBinary(this.FileUpload1.FileBytes);
//Create Resize imaging action to apply on the uploaded image
//NOTE: You may apply any of the ImageDraw built-in imaging actions
Neodynamic.WebControls.ImageDraw.Resize actResize = new Neodynamic.WebControls.ImageDraw.Resize();
actResize.Width = 150;
actResize.LockAspectRatio = Neodynamic.WebControls.ImageDra ...
Go to the complete details ...