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

search for in the

Imagick::charcoalImage> <Imagick::blurImage
Last updated: Fri, 05 Sep 2008

view this page in

Imagick::borderImage

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

Imagick::borderImage画像の周りを枠線で囲む

説明

bool Imagick::borderImage ( mixed $bordercolor , int $width , int $height )
警告

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

画像の周りを枠線で囲みます。枠線の色は ImagickPixel オブジェクトで指定します。

パラメータ

bordercolor

枠線の色を含む ImagickPixel オブジェクトあるいは文字列。

width

枠線の幅。

height

枠線の高さ。

返り値

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

変更履歴

バージョン 説明
2.1.0 色を表す文字列を最初のパラメータとして指定できるようになりました。 これまでのバージョンでは ImagickPixel オブジェクトしか指定できませんでした。



add a note add a note User Contributed Notes
Imagick::borderImage
mlong-php at mlong dot us
25-Oct-2007 03:48
How to set a 1 pixel border on an image object ($im):

  $color=new ImagickPixel();
  $color->setColor("rgb(220,220,220)");
  $im->borderImage($color,1,1);

Imagick::charcoalImage> <Imagick::blurImage
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites