Imagick::profileImage

(PECL imagick 2.0.0)
Adds or removes a profile from an image
bool Imagick::profileImage ( string $name, string $profile )

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.

Parameters:
name

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.

profile

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.

Returns:

Returns TRUE on success.

Exception:

Throws ImagickException on error.

doc_php
2016-02-24 16:01:14
Comments
Leave a Comment

Please login to continue.