Rajendra Tripathy

Rajendra Tripathy

  • NA
  • 823
  • 454.1k

How to fetch the actual quality from the original Image ?

Oct 8 2014 7:18 AM
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.
 
 

Answers (2)