Wednesday, November 26, 2008

Improving Image Quality with Imagemagick in Linux

I have stuck with tuning the quality of image when converting from pdf2image using Imagemagick opensource software.

After a long research I found the solution.

I have used the "density" for tuning the quality of the image, but it will increase the image size, width and height.

While converting the image the default density will be set to 72, so we can increase as per our need to tune the quality of the image.

But if we increase the density, the performance will get slower. (Best the quality, slower the converting performance)

Command to do in linux: Convert -density 100

You can play around by changing the density value from 72 to 600.

Hope you have achived the quality of image you have required.

No comments: