On Tue, 20 Jan 2009 02:16:28 +1100 [email protected] 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 ) <[email protected]> ----------------------------------------------------------------------------- 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/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
