PHP 8.4.1 Released!

Gmagick::setimageprofile

(PECL gmagick >= Unknown)

Gmagick::setimageprofileAdds a named profile to the Gmagick object

Descrizione

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

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.

Elenco dei parametri

name

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

profile

The profile.

Valori restituiti

The Gmagick object on success.

Errori/Eccezioni

Throws an GmagickException on error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top