indexprint with margin

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
f.gruber
Posts: 2
Joined: 2012-01-26T14:18:46-07:00
Authentication code: 8675308
Location: Bad Schallerbach, Austria

indexprint with margin

Post by f.gruber »

Hi,
please can you help me to get margins to an indexprint created with montage.
I made this little script:

Code: Select all

targetfile=/tmp/indexprint.pdf
tile=$(kdialog --radiolist "Anordnung der Bilder:" 2x3 "2 x 3" off 3x4 "3 x 4" on 4x5 "4 x 5" off)
montage -monitor -auto-orient -label %f -geometry 320x320+10+10 -tile $tile $sourcefiles $targetfile
okular $targetfile
How can I put margins around the output? The -geometry option only makes spacings between the thumbnails but not on the margins.
I tried something with -page option but I do not get the right result.

Thank you in advance you for help.
Ferdinand
Regards from Austria
Ferdinand
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: indexprint with margin

Post by snibgo »

I'm not sure what you want, but perhaps "-bordercolor Red -border 10" or something.
snibgo's IM pages: im.snibgo.com
Post Reply