Imagick::profileImage

(PECL imagick 2, PECL imagick 3)

Imagick::profileImageAdds or removes a profile from an image

說明

public Imagick::profileImage(string $name, string $profile): bool

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

profile

返回值

成功時返回 true

錯誤/異常

錯誤時拋出 ImagickException。