Php/docs/gmagick.profileimage

提供:Dev Guides
< Php
2020年12月14日 (月) 10:19時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Gmagick::profileimage

(PECL gmagick >= Unknown)

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


説明

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

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


パラメータ

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


返り値

成功した場合に Gmagick オブジェクトを返します。


エラー / 例外

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