|
|
| Author |
Message |
| Azoth |
This post is not being displayed .
|
 Azoth Brolly Dolly

Joined: 07 Jul 2016 Karma :  
|
 Posted: 21:17 - 27 Oct 2016 Post subject: Changing the size of all pages in a PDF |
 |
|
Some old books are currently only available as PDF files. The pages in these PDF files are A4-sized or larger. I want to order, and send to myself, one-off, bound, hard copies from these files, using a print-on-demand service. The POD company offers several different product options depending on page size. The sizes of each page in the scanned PDF files are inconvenient.
Does anyone know of an easy way to scale the sizes of all pages in a PDF document, without Adobe Pro? There are free online programs hosted by some websites that do it, but they apply a small size limit for the PDF files. There are some complex ways to do what I want to do, such as splitting up the PDF file and feeding each smaller file to the server-side web application to process all of them, or converting the PDF to a lot of image files, scaling them, then printing to PDF. But it would be nicer if there was a less labour-intensive solution.
Thanks ____________________ Safety in numbers |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| ScaredyCat |
This post is not being displayed .
|
 ScaredyCat World Chat Champion

Joined: 19 May 2012 Karma :   
|
 Posted: 21:43 - 27 Oct 2016 Post subject: |
 |
|
imagemagick can convert pages to png, scale and rebuild a PDF with them. I had to do this with a pdf presentation that was originally 279Mb - after saving them out as pngs and reforming, it was an 18Mb file that loaded in a fraction of the time.
| Code: |
SOURCE=MY_SOURCE
convert -density 150 -trim "${SOURCE}.pdf" -resize 1280x -quality 100 "./Out/${SOURCE}-%03d.png"
convert "*.{png}" ${SOURCE}_NEW.pdf
|
You can use pngquant to compress the pngs first, if required.
-trim removes the surrounding whitespace, you may need to experiment with that setting to see what's best.
Just pointing out the obvious, you want to scale the images with the same output ratio as the input, otherwise you'll get squashed or stretched text.
PDFJam is also another option... ____________________ Honda CBF125 ➝ NC700X
Honda CBF125 ↳ Speed Triple
Last edited by ScaredyCat on 22:00 - 27 Oct 2016; edited 1 time in total |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Azoth |
This post is not being displayed .
|
 Azoth Brolly Dolly

Joined: 07 Jul 2016 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Jayy |
This post is not being displayed .
|
 Jayy Mr. Ponzi
Joined: 08 Jun 2009 Karma :  
|
 Posted: 23:57 - 27 Oct 2016 Post subject: |
 |
|
What books are they? They obviously existed in book format at some stage and assume they are quite rare to find?
I literally have access to millions of physical books. Only problem is, they aren't exactly sorted and spread over two locations 250 miles apart but if you gave a list, I could get people to keep an eye out for them?
 |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Azoth |
This post is not being displayed .
|
 Azoth Brolly Dolly

Joined: 07 Jul 2016 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Jayy |
This post is not being displayed .
|
 Jayy Mr. Ponzi
Joined: 08 Jun 2009 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| ScaredyCat |
This post is not being displayed .
|
 ScaredyCat World Chat Champion

Joined: 19 May 2012 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Lord Percy |
This post is not being displayed .
|
 Lord Percy World Chat Champion

Joined: 03 Aug 2012 Karma :  
|
 Posted: 15:19 - 29 Oct 2016 Post subject: |
 |
|
There's a program called Calibre which deals with e-books of all types including PDF.
You can convert from one version to another. E-book file types are a bit iffy but PDF output is fine. I converted a book just yesterday, from epub to PDF.
PDF to PDF would have no problem at all, I expect. Pages with pictures can sometimes cause a slight hiccup so that's the only thing to look out for.
You can specify everything in the conversion process, including font style, size, spacing, page size etc.
Calibre download |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 9 years, 110 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|