Fred's ImageMagick Scripts
|
Appends multiple images together with positional justification. |
last modified: December 03, 2008
|
USAGE: adjoin [-m mode] [-g gravity] [-b bgcolor] infile1 ... infileN outfile
-m .... mode ......... append mode: horizontal (or H) or vertical (or V) PURPOSE: To append multiple images together with positional justification. DESCRIPTION: ADJOIN appends multiple images together with positional justification. Images may be appended either horizontally or vertically. For horizontal appending, position justification may be north (or top), center or south (or bottom). For vertical appending, position justification may be east (or right), center or west (or left). Any valid IM color including none (for transparent) may be used for fill areas. ARGUMENTS: -m mode ... MODE is the direction for appending. Choices are either horizontal (or H) or vertical (or V). If horizontal, the images will be appended in sequence from left to right. If vertical, the images will be appended in sequence from top to bottom. The default=horizontal. -g gravity ... GRAVITY identifies the desired positional justification when appending. For mode=horizontal, positional justification may be north (or top), center or south (or bottom). For mode=vertical, positional justification may be east (or right), center or west (or left). The default=center. -b bgcolor ... BGCOLOR specifies the background color to use for the fill areas. Any valid IM color specification may be used. To make the background transparent, set the color to none. The default is black. IMPORTANT: This script may only work for IM 6.4.6-6 or higher due to a bug fix in -extent at that release. CAVEAT: No guarantee that this script will work on all platforms, nor that trapping of inconsistent parameters is complete and foolproof. Use At Your Own Risk. |
|
Horizontal Appending |
||
|
Image 1 |
Image 2 |
Image 3 |
|
|
|
|
|
Arguments: |
||
|
||
|
Arguments: |
||
|
||
|
Arguments: |
||
|
||
|
Vertical Appending |
||
|
Image 1 |
Image 2 |
Image 3 |
|
|
|
|
|
Arguments: |
Arguments: |
Arguments: |
|
|
|
|
What the script does is as follows:
This is equivalent to the following IM commands for
|