On Thu, 10 Sep 2009 20:33:01 -0700 Fred Weinhaus <[email protected]> wrote:
| I believe you are misusing -flatten. it uses -page and not -repage. | and the -page comes before the images. see | http://www.imagemagick.org/Usage/layers/#flatten | | I think this might be what you want. | | convert -size 1159x1515 xc:white \ | -page +0+0 in.jpg \ | -page +409+765 in.jpg -compose multiply -flatten \ | -density 150 -compress zip out.tif | | -flatten uses BOTH. -page sets virtual canvas size/offset info in images being read in. -repage sets that info in image already in memory. -set page '???' assigns that info directly without limiting it to just the given the size or the offset component. -page -repage -set page all do basically the same type of thing, just in different ways. -repage for example also has options to make relative displacements of the existing images offset, rather than just replacing it. On the other hand -set page allows the use of percent escapes for calculations! Anthony Thyssen ( System Programmer ) <[email protected]> ----------------------------------------------------------------------------- Poltics(n): A two-handed game in which Mudballs are Trump! - BC's Dictionary ----------------------------------------------------------------------------- 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
