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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -