= Unknown)Gmagick::profileimage — Adds or removes a profile from an image說明public Gmagick::profileimage(string $na">

Gmagick::profileimage

(PECL gmagick >= Unknown)

Gmagick::profileimageAdds or removes a profile from an image

說明

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

Adds or removes a ICC, IPTC, or generic profile from an image. If the profile is null, it is removed from the image otherwise added. Use a name of * and a profile of null to remove all profiles from the image.

參數(shù)

name

Name of profile to add or remove: ICC, IPTC, or generic profile.

profile

The profile.

返回值

The Gmagick object.

錯誤/異常

錯誤時拋出 GmagickException。