PHPとGDとか ref: http://qiita.com/Petitsurume/items/313a6f0b1c80164d364e