windows applications - c# a generic error occurred in gdi+ when save image -
I try this code to resize my image:
ConvertToBitmap (TxtImage.Text); Private Zero ConvertToBitmap (string filename) {if (File.Exists (filename)) {var origImg = System.Drawing.Image.FromFile (filename); Var widthDivisor = (double) origImg.Width / (double) 900; Var elevation = (double) origImg.Height / (double) 750; Int Nudith, NewHeight; If (width divider This size changes to the image, but some error has been shown in this error code GDI. Any additional effort is welcome
Allow folder full security, so it's a great job
Comments
Post a Comment