Converting several .jpg into a multipage .pdf - with external margins
Posted: 2016-06-25T03:31:07-07:00
Hello,
Here is my situation : I have several .jpg files that have roughly the same size (360*510) that I would like to concatenate into a .pdf file so that I can print only one file and reduce the amount of non-printed pagespace.
In order to achieve this, I used montage :
montage -geometry 360x510+2+2 -mode concatenate -tile 3x3 *.jpg output.pdf
This does approximately what I want : it does generate a multipage .pdf file with, on each page, 9 of my .jpgs, with a small whitespace between them.
However, it has only 2 pixels inner margin on the sides, which isn't acceptable for print - I would need something like 2cms (let's make it simple and have the same margin on vertical and horizontal edges) on each side of my .pdf pages.
Is there any way I can achieve this with command-lines?
Thanks a lot!
Here is my situation : I have several .jpg files that have roughly the same size (360*510) that I would like to concatenate into a .pdf file so that I can print only one file and reduce the amount of non-printed pagespace.
In order to achieve this, I used montage :
montage -geometry 360x510+2+2 -mode concatenate -tile 3x3 *.jpg output.pdf
This does approximately what I want : it does generate a multipage .pdf file with, on each page, 9 of my .jpgs, with a small whitespace between them.
However, it has only 2 pixels inner margin on the sides, which isn't acceptable for print - I would need something like 2cms (let's make it simple and have the same margin on vertical and horizontal edges) on each side of my .pdf pages.
Is there any way I can achieve this with command-lines?
Thanks a lot!