"Albert Wu" on wrote...
| How do I move both the tile_water.jpg AND the moon_mask.gif into the lower
| bottom corner in the following command?
|
| composite tile_water.jpg tile_aqua.jpg moon_mask.gif mask_over.jpg
|
| (http://www.imagemagick.org/Usage/compose/)
|
The -geometry offset will ONLY define the position of the source image.
It will not offset the mask image, which is fixed to background
position.
If you need it offset, use -slice to add more 'black' areas to the
top left edges.
I believe I mentioned this in the section you retrieved that example
from, though I know that section is incomplete (lack of examples from
mail-list, forum or user contributions).
The problem is that sometimes the mask should be relative background
and sometimes to the source image. IM has no way of knowing
which is the case.
I also do not want to see a situation of IM flipping between 'it is
offset' and 'no it isn't' which I have seen in the pass for other
operations. For example how GIF format handles semi-transparent
colors, got really bad a few years ago.
Currently the solution was to make mask, background masking, thus no
offset is applied. This was in line with other mask limiting operations
such as -clip-mask -clip -region.
Region restrictions and masked limits is one aspect of IM that I have
not really looked at in IM Examples. Basically as this specific problem
needs discussion before the I can make examples.
Any examples or suggestions are of course welcome.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Personally, I consider myself perfect and bug free...bug free... bug
free... bug free... bug free... bug free... bug free... bug free...
-- Adam Calinsed Cuerden <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
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