Created
June 21, 2018 16:11
-
-
Save ethanholda/2a9a6c57092046721192309455d3af68 to your computer and use it in GitHub Desktop.
imagemagick circular crop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert IMG-TRM-1916-1038.jpg -alpha on -background none \( +clone -channel a -evaluate multiply 0 +channel -fill white -draw "translate 1500,1000 circle 0,0 0,150" \) -compose DstIn -composite -trim out.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment