Very new user, so I am probably making a very basic error.

I start with a single page PDF called test.pdf. This particular document is 7.5 in wide and 12.9 in tall, and contains components of varying resolution, including some that are pure PostScript and thus resolution independent. I want to make from this several variants that are the same dimensions but with different tone curves. (I understand that the file size will differ - its the dimensions that I want to keep.) I am happy to have the entire PDF converted to bitmap (no need to keep pure PS) so long as it is at least 300 DPI and the dimensions are maintained. I will do this repeatedly with different PDFs, and some documents will be larger.

Ignoring the issue of applying tone curves for the moment (since they seems to work as expected), if I enter:
convert /estimator/test.pdf -resample 600x600 /estimator/test.png
the command fails (after considerable thrashing for maybe an hour) with
convert: Memory allocation failed `/estimator/test.png'.

I know a 600x600 DPI color image would be a large file, but it should still work...

What if I step down the resample to 300x300 ?
convert /estimator/test.pdf -resample 300x300 /estimator/test.png
then (fairly quickly) I get a png file that the gimp says is 8.4 x 13.8 inches at 762 pixels / inch! (Wrong dimensions, and wrong resolution.) However, it is quite blurry... perhaps the PDF was read at 72DPI and this was then resampled to get the png?
So I try
convert -resample 300x300 /estimator/test.pdf -resample 300x300 /estimator/test.png
but this produces no visible difference.
OK...
convert -density 300x300 /estimator/test.pdf -resample 300x300 /estimator/test.png and the file looks wonderful... except that gimp says it's now 3.3 x 5.4 inches at 762 dpi.

I am clearly not understanding what I am doing. Help?

System is Fedora Core 6, 2GB RAM, core 2 duo, system and swap on a HW RAID 0 (composed of 2 10k RPM 36GB SATA Raptors w/16 mb buffers) and /estimator/ on a separate drive from the swap (7200 rpm / 250GB / 16mb buffer).

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to