2015-09-01から1ヶ月間の記事一覧

Imagerで画像の幅と高さとを取得する getwidth, getheight

Perlの画像操作モジュールImagerで、幅と高さとを取得するには、getwidthメソッドとgetheightメソッドを使用します。 # 幅の取得 $imager->getwidth # 高さの取得 $imager->getheight; サンプル getwidthとgetheightを使用したサンプルです。 use Imager; my…