I'm trying to use this class but I'm getting a Generic error occured in GDI+ in Image.Save() method. From what I read it's some stream I need to close but I don't know which one.

I'm calling using this:

 Image image = Image.FromFile(@"C:\a.jpg");
            using (var resized = ImageUtilities.ResizeImage(image, 50, 100))
            {
                //save the resized image as a jpeg with a quality of 90
                ImageUtilities.SaveJpeg(@"C:\myimage.jpeg", resized, 90);
            }


Why is that error and how do I solve this?


Question: What filter should I use to avoid overly-whitened daylight  images?
Answer: Do you mean over-exposed? If so, use +/- button. That is Exposure-Compensation and lets you make things darker by going negative.

A UV filter does nothing for brightness, usually makes things worst only. Take off and replace with polarizer that darkens the sky (sometimes, if not cloudy).