The following works just fine and produces centered images on 8-1/2 x 11
pages, as expected:

   convert -compress jpeg -resample 72x72 -page 612x792 -gravity center
           -monitor BWFile0000.JPG BWFile0001.JPG test_72.pdf

Any resolution or page size that is different (e.g. 150x150) causes the
images to be shoved up into the NorthEast corner and possibly clipped.
For example:

   convert -compress jpeg -resample 150x150 -page 1275x1650 -gravity center
           -monitor BWFile0000.JPG BWFile0001.JPG test_150.pdf

It appears to be a problem with ImageMagick.  Outputting to an eps file
still causes the same problem.  Adding "-dPDFSETTINGS=/ebook" to the gs
parameters in delegates.xml has no effect (as one would expect).  Moving
the -page and -gravity parameters around on the command line has no effect.

Looks like "-gravity center" doesn't work properly under any circumstances
except for 72x72.  It would be good to be able to alter the resolution and
therefore quality of the generated PDF to trade off space vs. quality.

                                     Eric 


_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to