ciao, ho provato il tuo codice ma ho questo errore.
premetto che nn conosco C# ma lo sto imparando adesso...

posto l'errore
A generic error occurred in GDI+.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:


Line 140: if (File.Exists(destPath + fileName) && (owr)) message = "OverWritted";
Line 141:
Line 142: bitmap.Save(destPath + fileName, image.RawFormat);
Line 143: Status.Text += "<span style=\"color:Green;\">File '" + fileName + " &#64; [" + (int)(orgImgWidth) + "px X " + (int)(orgImgHeight) + "px]' " + message + " with this new size [" + (int)(rThumbnailWidth) + "px X " + (int)(rThumbnailHeight) + "px]</span>
";
Line 144: } // using(Bitmap bitmap = new Bitmap(image, (int)(rThumbnailWidth), (int)(rThumbnailHeight)))
come posso risolvere ?
grazie mille