Page 1 of 1

Imagemagick - Best print quality from a TIF to JPG conversio

Posted: Sun Aug 26, 2007 1:39 pm
by cesarcesar
I am working with a TIF to JPG conversion that will result in the JPG being printed from a web page. My issue is the final JPG image prints VERY blurry.

The TIF file that has the following settings,

*plat.tif*
Pixel Dimensions - 9600x7200
Document Size - 24x18 inches
Resolution - 400 px/in
File Size - 236 KB

When using the command

Code: Select all

exec("convert plat.tif -density 300x300 -quality 100 plat.jpg");
the code takes 63 seconds to run. Is this normal?

Then i run

Code: Select all

exec("convert plat.jpg -resize 792x612 -quality 100 plat_resize.jpg");
to reduce the JPG to the PX size i need. the code takes 73 seconds to run. Is this normal?

When plat_resize.jpg is viewed in Firefox using a standard <img src> tag the image looks not as good as the original TIF, but "OK". Though, my final output is to print the image and this is where my main problem is. The printed image looks blurry and unreadable. How can i get it to look as good or as close to the original TIF as possible?

Here are the files being used and generated.

http://www.zellco.com/imagemagick/plat.tif
http://www.zellco.com/imagemagick/plat.jpg
http://www.zellco.com/imagemagick/plat_resize.jpg
http://www.zellco.com/imagemagick/plat_resized.html (image in page ready to print.)

Thank much for all the replies to come.

Posted: Sun Aug 26, 2007 2:04 pm
by feyd
You have an insanely sized tiff. I wouldn't expect it to be fast to convert.

Posted: Sun Aug 26, 2007 2:13 pm
by cesarcesar
i agree. unfortunately the size is not up to me... i am going to school my client on more appropriate sizes. Though i believe the image is given to them as is.

Posted: Sun Aug 26, 2007 2:33 pm
by josa
If you try to print the resized image in the original size (24 x 18 inches), the resolution would be as low as 33 pixels/inch. I would expect that to look very blurry.

/josa

Posted: Sun Aug 26, 2007 3:40 pm
by cesarcesar
josa wrote:If you try to print the resized image in the original size (24 x 18 inches), the resolution would be as low as 33 pixels/inch. I would expect that to look very blurry.

/josa
Very good observation.