I've wrote very simple bash script for picon (with small rounded corners) creating. You have to need install pngquant and imagemagick before script running.
#!/bin/sh
#
##############################################################
#
# Input arguments:
# $1 - width of the output picon image
#...