"Timothy Armes" on wrote...
| That's not quite true. I can overlay images with the draw command, for
| example.
|
Only a static unchangeing image. I was the one that figured out and
published that mthod in IM Examples, Basics, Mogrify.
Shadows are not static images. Thay are created from the original image
so as to be correctly shaped by the transparency of the original image.
You can use -shadow in mogrify and have it save to a different file
'format', or directory 'path' so as not to overright the original, but
you can not create the shadow and combin with with the original image.
The meaning of -shadow could be changed for "mogrify" (just as -format
has a different meaning in "mogrify"). To add shaodws to each image
including the merger. However I don't recomend that.
Prehaps however we can arrange a -shadowify or -shadow-cast or something
like that does BOTH the -shadow operation and underlaying of the
resulting image (using the new -merge operator) so that it can be used
BOTH in "convert", and "mogrify", posibly even in the "display" and
"montage" commands.
| Which brings me to my second question. Can I do the equivalent of the
| -dissolve operator on the image being drawn, before it's overlaid ?
|
For single images, yes. The simplist is
-matte -channel A -evaluate multiply .6 +channel
This just disolves (make semi-transparent) all the images in the current
image list by 60%
NOTE: Do not use a percentage as that has a 'color' aspect (percentage
of 'MaxRGB' or the current quality 'Quantium' for color values) to it in
-evaluate.
The composite -blend 60% source.png destination.png result.png
is equivelent to multipy alpha by 60% for the first source.png image
(it is the reverse of convert) and 40% for the second background.png
image, then ADD them together (not overlaid) to create result.png
While composite -dissolve 60% source.png destination.png result.png
is simular but only the first source image is multiplied before it is
overlaid (using "Over") onto background.png
See IM Examples, Alpha Composition, Dissolve and Blend.
Expecially look at Extrapolated Blends for a more unusual usage,
(used to generate 'unsharp' image sharpening).
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
" `` ' ` " `' "" (Random Quotes)
-----------------------------------------------------------------------------
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