PNG32 の DataURL 生成を PNG24 に変更
Thanks to Imaya
adjust also to Retina display (flexible coding for define trimming params)