[magick-users] Composite or montage command to stack images
Anthony Thyssen
A.Thyssen at griffith.edu.au
Mon Jan 19 16:46:49 PST 2009
On Tue, 20 Jan 2009 02:16:28 +1100
magick-users at imagemagick.org wrote:
| Hi all,
|
| I've trying to pull together a command to create
| the following image:
|
| Three images stacked vertically on the left and
| one image taking up the right hand side of the
| frame. The right hand image would take up the
| whole right hand half of the total image.
|
| I can't quite get it with -gravity (e.g.
| NorthWest, West, SouthWest and East) as I keep
| getting four images in each corner.
|
| Should I be creating images each with transparent
| borders the size of the areas where the other
| images are meant to go and then creating a montage
| somehow?
|
| Could someone please point me in the correct
| direction for this?
|
Read the IM example notes
Composite Geometry/Gravity Settings
vs Layer Canvas/Page Offsets
http://www.imagemagick.org/Usage/compose/#geometry
Basically gravity is used by two image alpha compositing
for adjusting how IM interprets 'geometry offset'
It is NOT used by 'layers' which only uses an absolute
virtual canvas or 'page' positioning.
As such you need to give your image a 'page' offset
to position it where you want it.
alternatively. 'layer' your three images, then
+append the right image to it! May be more logical.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
May a thousand camels spit in your keyboard!
-- Anthony Thyssen (no offence)
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list