PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::current> <Imagick::cropImage
Last updated: Fri, 10 Oct 2008

view this page in

Imagick::cropThumbnailImage

(No version information available, might be only in CVS)

Imagick::cropThumbnailImage切り取ってサムネイルを作成する

説明

bool Imagick::cropThumbnailImage ( int $width , int $height )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

固定サイズのサムネイルを作成します。 まず画像のサイズを縮小し、指定した範囲を中心から切り取ります。

パラメータ

width

サムネイルの幅。

height

サムネイルの高さ。

返り値

成功した場合に TRUE を返します。

エラー / 例外

エラー時に ImagickException をスローします。



add a note add a note User Contributed Notes
Imagick::cropThumbnailImage
domenechs1 at yahoo dot es
04-Mar-2008 02:06
$image = new Imagick($path."test1.jpg");

$image->cropThumbnailImage(160,120); // Crop image and thumb

$image->writeImage($path."test1.jpg");

Imagick::current> <Imagick::cropImage
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites