I want to crop it into a circle.
Here is the command which I use to crop images, it works fine with static images (png, jpeg, ...), but it doesn't work with animations (gif images).
Code: Select all
convert bird.png -alpha on \( +clone -channel a -evaluate multiply 0 +channel -fill white -draw 'circle 128,128 0,128' \) -compose DstIn -composite bird-circle.png
Here is information about ImageMagick:
Version: ImageMagick 6.7.8-9 2017-09-20 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP