Search found 2 matches

by mikewhy
2015-12-10T12:49:08-07:00
Forum: Users
Topic: Discard original image when making shadow
Replies: 5
Views: 2667

Re: Discard original image when making shadow

`delete 0` is exactly what I am looking for, thanks so much! Here's the final command, for posterity:

Code: Select all

convert \
    input.png \
    \( +clone -background \#f0f -shadow 100x20 -channel A -level 0,70% +channel \) \
    -delete 0 \
    -shave 40 \
    output.png
aka exactly what fmw42 posted.
by mikewhy
2015-12-10T11:46:52-07:00
Forum: Users
Topic: Discard original image when making shadow
Replies: 5
Views: 2667

Discard original image when making shadow

I'm trying to use `convert` to generate glow images for a game we are working on. I've got most of the command done already [ ! -f input.png ] && curl -L http://bellard.org/bpg/2.png --output input.png convert \ input.png \ -background none \ \( +clone -background \#f0f -shadow 100x40 -channel A ...