メインコンテンツまでスキップ

Trim::resizeForce

画像を強制的にリサイズします

説明

public void Trim::resizeForce( number $w, number $h )

引数

名前データ型デフォルト備考
$wnumber変換後の画像幅
$hnumber変換後の画像高さ

Controller
$trim = $this->getClass('Tool/Trim');
$trim->setImage('path/to/image.jpg', 'path/to/converted.jpg');

$trim->resizeForce(300, 300);