I cut a hole in this image using the mask of same width and height : mask1.png : (black and white image with no transparency) http://i59.tinypic.com/2ugoqk7.png
convert image1 mask1 -alpha Off -compose CopyOpacity ...
Hi, I have a grayscale passport size photo of a person. How to convert all the white shades in that transparent, and keep the black color not transparent.
I have tried the command convert 1.png -background black -alpha copy -type truecolormatte PNG32:1_alpha.png
I tried to implement your code. http://i59.tinypic.com/25i0rx2.jpg In this image, first one is original circle. second circle is what I got using your code. Third is like what I want, but this got a bigger radius [ using the code -blur 0x20 ]