JMagick compression like MS-Paint
<p>I'm using JMagick to scale images to a smaller dimension like (400x400). But the resultant image size is around 200 KB which is big while loading images on the web as it takes time to load the page. So, I would like to reduce the size of the scaled images by setting some compression. I have tried setting compressionType by </p>

<pre><code>MagickImage scaledImage = image.scaleImage(400, 400);
image.setCompression(CompressionType.JPEGCompression);
</code></pre>

<p>Where image is an object of MagickImage of the source image. </p>

<p>But it doesn't seem to reduce the size of the scaled image. I have tried setting the quality using <code>imageInfo.setQuality(75)</code> but no luck.</p>

<p>Ideally, I would like to have it like MS-Paint does. MS-Paint seemed to reduce the size if you re-save it to around 30 KB. Can any one please help me if it is possible scale image using jmagick with compression like MS-Paint.</p>
