Hi Fred,

Thanks for your fast response.

On Wed, Aug 20, 2008 at 6:41 PM, Fred Weinhaus <[EMAIL PROTECTED]> wrote:

> It would be most helpful to provide the command lines you used for
> each step, not just the pictures.


Here are the commands:


>
> >
> >Original File
> >http://img179.imageshack.us/img179/255/origke7.jpg
>

convert orig.jpg \( +clone -fx "p{0,0}" \) -compose Difference -composite
-modulate 100,0 +matte diff.png


> >Difference
> >http://img170.imageshack.us/img170/3316/diffih5.png
>


convert diff.png -threshold 25% threshold.png
convert threshold.png -bordercolor black -border 1x1 -matte -fill none -fuzz
20% -draw "matte 0,0 floodfill" -shave 1x1 miff:- | convert - -fill white
-opaque black +matte -fill black -opaque black threshold.png

<http://img170.imageshack.us/img170/3316/diffih5.png>
> >
> >Threshold
> >http://img170.imageshack.us/img170/7930/thresholdhi5.png
>

convert orig.png threshold.png +matte -compose CopyOpacity -composite
out.png

<http://img170.imageshack.us/img170/7930/thresholdhi5.png>
> >
> >Image without background but with shadow
> >http://img186.imageshack.us/img186/5355/outhb7.png
> >
>

Greetings
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to