Is there a way to save the image with the same quality as it was loaded without hardcoding the quality value?
EncoderParameters myEncoderParameters = new EncoderParameters(1);
myEncoderParameters.Param[0] = new EncoderParameter(Encoder.Quality, 100L);
Can I fetch the actual quality from the original image and then set it back rather then Hardcoding i.e 100L.