Fred Weinhaus on wrote...
| This works:
|
| convert rose: -shave 10x10 +repage -bordercolor red -border 10x10 miff: | \
| composite -blend 25% miff: rose: rose_blend.png
|
| Puts trims a 10 pixel area around the image, then adds a 10 pixel red
| border back around the trimmed image, then mixes the bordered and
| original images together with 25/75 mix.
|
|
| Unfortunately this does not seem to work. Perhaps Anthony can explain.
|
| composite -blend 25% rose: \
| \( rose: -shave 10x10 +repage -bordercolor red -border 10x10 \) \
| +swap rose: rose_blend.png
|
| I suspect that composite is not as versatile with respect to \( ...
| \) notation as is convert.
|
That last command has 3 images in it as far as I can see!
Making it a three image masked composition!
Also composite is does not seem to understand all options.
However you can do a -blend compose in "convert" It just isn't as
straight forward.
The better idea however is to just colorize a rose image then overlay a
trimmed down original in the center.
convert rose: -fill red -colorize 25% \
\( rose: -shave 10x10 \) \
-gravity center -composite rose_blend.png
It isn't a blend, but it is a near equivelent. Less processing too.
This is very simular to 'self framing images'
http://imagemagick.org/Usage/thumbnails/
Except that we are doing a red de-contrast inside the image rather than
adding an enlarged lower contrast copy of the image around the original.
I am however still not certain that is what the original requester is
wanting as it is a little unclear.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
One does expect bugs, but not of this variety
-- an ant just crawled out of the keyboard.
-- Ann E Cleary <[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