View Single Post
Old 03-31-2010, 11:45 PM   #18
bthoven
Evangelist
bthoven will become famous soon enoughbthoven will become famous soon enoughbthoven will become famous soon enoughbthoven will become famous soon enoughbthoven will become famous soon enoughbthoven will become famous soon enough
 
bthoven's Avatar
 
Posts: 475
Karma: 590
Join Date: Aug 2009
Location: Bangkok, Thailand
Device: Kindle Paperwhite
Quote:
Originally Posted by frabjous View Post
Cool.

By the way, if you want to cut out the "middle man", and just have ImageMagick do the resizing, you can use:

convert input.pdf -resize 600x800! output.pdf

The units for -resize are pixels, 1/72th of an inch. It'll do every page. The exclamation mark is needed if you want to lose the aspect ratio.

Very handy if put in a batch file to do an entire directory (or more) at once. Let me know if you'd need help with that. (I'd need to know your operating system.)
Wow! very handy command.

I've tried the command with my pdf file, it failed on the way. I believe it was because my original file has a number of different page sizes.

It worked if my pdf input file has consistent page size; or same page size for all pages.

Thanks again.

Last edited by bthoven; 04-01-2010 at 01:00 AM.
bthoven is offline   Reply With Quote