I’m quite often mis-attributed for creating hackergotchis. Generally not being a big fan of dropshadows and guillotines, I’d actually prefer to keep the horrible aesthetic of hackergotchis in the past.
There’s probably less clumsy ways to do this, but to help the matter I’ve created a simple script + svg template that renders a round pill from a square photo. You need to have inkscape installed and provide it with a square photo.
$ ./render-avatar.rb jimmac.jpg Bitmap saved as: avatar.png
Please reattach your heads to your bodies, they look better as a unit.