PNG fix: if the image type is image/png, then we remove the encoder paramters from Bitmap.Save()