Month: April 2006

  • Bitmap.Save() Invalid Parameter Used

    In my previous post of A Generic Error Occurred in GDI+, I explained about the lock which the Bitmap object creates on the file. Now if by mistake we dispose the object before saving the image, there is no image to be saved and the error “Invalid Parameter Used” will be encountered. You can…


  • Bitmap.Save(): A Generic Error Occurred in GDI+

    Employee tired because of generic error occurred in GDI+

    If you are trying to modify Bitmap, you may encounter the following GDI error which is very generic and does not provide any details. As the exception does not provide more details, it is very frustrating to figure out the root cause. 2 Reasons Why This Generic GDI Error Occurred GDI+ throws an error when…