Imagick::setImageProfile

(PECL imagick 2.0.0)
Adds a named profile to the Imagick object
bool Imagick::setImageProfile ( string $name, string $profile )

Adds a named profile to the Imagick object. If a profile with the same name already exists, it is replaced. This method differs from the Imagick::ProfileImage() method in that it does not apply any CMS color profiles.

Parameters:
name

Adds a named profile to the Imagick object. If a profile with the same name already exists, it is replaced. This method differs from the Imagick::ProfileImage() method in that it does not apply any CMS color profiles.

profile

Adds a named profile to the Imagick object. If a profile with the same name already exists, it is replaced. This method differs from the Imagick::ProfileImage() method in that it does not apply any CMS color profiles.

Returns:

Returns TRUE on success.

Exception:

Throws ImagickException on error.

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

Please login to continue.