Have a simple method for compressing the JPG images:
public void CompressImage(Stream input, Stream output)
{
var settings = new ProcessImageSettings
{
ResizeMode = CropScaleMode.Max,
EncoderOptions = new JpegEncoderOptions(75, ChromaSubsampleMode.Subsample420, true)
};
MagicImageProcessor.ProcessImage(input, output, settings);
}
During the testing I mentioned that my input test file size is around 110KB and the output one is 140KB.
Do you have any idea why it may happen?
Thank you.
Hi Clinton,
Have a simple method for compressing the JPG images:
During the testing I mentioned that my input test file size is around 110KB and the output one is 140KB. Do you have any idea why it may happen? Thank you.