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.


Rajendra TripathyRank #1,822 · 814 reputationPosted Oct 8, 2014, 4:06 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Oct 8, 2014, 4:00 AM EDT