cropping and leaving the background transparent

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: cropping and leaving the background transparent

Post by fmw42 »

You can save them as gif or png and get transparency. You will need to make a circle mask image and use that with -compose ... -composite. Circles can be made with the draw command.

see

http://www.imagemagick.org/Usage/channels/
http://www.imagemagick.org/Usage/compose/
http://www.imagemagick.org/Usage/draw/
Post Reply