Gmagick
PHP Manual

Gmagick::setimageprofile

(PECL gmagick >= Unknown)

Gmagick::setimageprofileAdds a named profile to the Gmagick object

Descrição

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

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

Parâmetros

name

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

profile

The profile.

Valor Retornado

The Gmagick object on success.

Erros

Lança uma exceção GmagickException em erros.


Gmagick
PHP Manual