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

search for in the

Imagick::gaussianBlurImage> <Imagick::fxImage
Last updated: Fri, 13 Nov 2009

view this page in

Imagick::gammaImage

(PECL imagick 2.0.0)

Imagick::gammaImage画像をガンマ補正する

説明

bool Imagick::gammaImage ( float $gamma [, int $channel = Imagick::CHANNEL_ALL ] )
警告

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

画像をガンマ補正します。同じ画像でも、 異なるデバイス上で見ると見た目が変わることがあります。 これは、画面上に画像の輝度を表現する方法がことなるためです。 赤、緑、青の各チャネルに個別のガンマレベルを指定するか、 あるいはすべてのチャネルに共通のガンマレベルを指定します。 値の典型的な範囲は、0.8 から 2.3 の間となります。

パラメータ

gamma

ガンマ補正の量。

channel

チャネルモードに対応したチャネル定数を指定します。 複数のチャネルに適用するには、 ビット演算子でチャネル型定数を組み合わせます。 デフォルトは Imagick::CHANNEL_ALL です。 チャネル定数 の一覧を参照ください。

返り値

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

エラー / 例外

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



add a note add a note User Contributed Notes
Imagick::gammaImage
There are no user contributed notes for this page.

Imagick::gaussianBlurImage> <Imagick::fxImage
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites