I\'m trying to crop a circle image and adding a border around it. Below is my code to crop a circle image.
If You managed to do the cropping, then it should be easy.
Just create a black circle and put a 2px smaller circle on it and then fil it with the image (that's what You do, isnt'it? ;) )
EDIT:
To be more precise:
Now You create a circle filled with the image. I suggest to: