Converting images into pdf files with equal sizes?
Posted: 2015-01-03T03:03:05-07:00
Hi,
on my Arch linux I'm using ImageMagick 6.9.0-2 Q16 x86_64 2014-12-31.
I have a directory with many ( over 300 ) jpg images.
These images are scanned pages from a book.
Images have following properties:
geometry: 900x1200
resolution: 180x180
from the first image to the 27. image but from 28. image this is changing:
geometry: 900x1200
resolution: 150x150
I do converting these images into pdf files with command:
Then I merge these pdf files into one pdf file with command:
So as a result I get not equal pdf page sizes because from the 28.pdf pages are bigger in the same merged document.
How can I get equal pdf pages using the convert tool?
--
Regards, from Pal
on my Arch linux I'm using ImageMagick 6.9.0-2 Q16 x86_64 2014-12-31.
I have a directory with many ( over 300 ) jpg images.
These images are scanned pages from a book.
Images have following properties:
geometry: 900x1200
resolution: 180x180
from the first image to the 27. image but from 28. image this is changing:
geometry: 900x1200
resolution: 150x150
I do converting these images into pdf files with command:
Code: Select all
for i in *.jpg; do convert ${i} ${i/.jpg/.pdf}; done
Code: Select all
pdftk *.pdf cat output valami.pdf
How can I get equal pdf pages using the convert tool?
--
Regards, from Pal