Gmagick::profileimage

(PECL gmagick >= Unknown)

Gmagick::profileimage画像のプロファイルを追加あるいは削除する

説明

publicGmagick::profileimage(string$name, string$profile): Gmagick

ICC、IPTC あるいは汎用のプロファイルを画像に追加あるいは削除します。 profile が null の場合は画像からプロファイルを削除し、 それ以外の場合は追加します。 name に *、profile に null を指定すると、画像からすべてのプロパティを削除します。

パラメータ

name

追加あるいは削除するプロファイルの名前。ICC、IPTC、あるいは generic。

profile

プロファイル。

戻り値

Gmagick オブジェクトを返します。

エラー / 例外

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

To Top