Imagick::profileImage
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Adds or removes a profile from an image
Description
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 rather than added.
To remove every single profile from the image use '*' as the name and null for the profile.
Parameters
nameThe profile name.
profileThe profile data. If null, the specified profile will be deleted.
Return Values
Success
Errors/Exceptions
Throws