Imagemagic convert producing wrong size image
Posted: 2009-10-21T15:37:18-07:00
Hi,
I've a one page PDf file named file.pdf, which has an image embedded in it. This 354x591 image was built with 300 DPI in Photoshop. Print size of the the document is 1.18 inch x 1.97 inch. Which is correct because 354/300 = 1.18 and 591/300 = 1.97.
Now problem is when I run
I've tried it with all the switches like density, size, geometry and resize but in all cases, image is 85x142. I think the reason is while is producing image it is calculating pixel size from print size 1.18 inch x 1.97 inch with 72 DPI (1.18x72 = 85, 1.97x72=142). So it seems it's doing wrong calculation. Is it a known bug?
Could someone please help me on this?
I've a one page PDf file named file.pdf, which has an image embedded in it. This 354x591 image was built with 300 DPI in Photoshop. Print size of the the document is 1.18 inch x 1.97 inch. Which is correct because 354/300 = 1.18 and 591/300 = 1.97.
Now problem is when I run
, file.jpg is produced with 85x142 dimensions. Shouldn't the image be saved as 354x591, which was the original size in PDF?convert file.pdf file.jpg
I've tried it with all the switches like density, size, geometry and resize but in all cases, image is 85x142. I think the reason is while is producing image it is calculating pixel size from print size 1.18 inch x 1.97 inch with 72 DPI (1.18x72 = 85, 1.97x72=142). So it seems it's doing wrong calculation. Is it a known bug?
Could someone please help me on this?