PHP - Manual: Gmagick::setimageprofile
2024-11-13
(PECL gmagick >= Unknown)
Gmagick::setimageprofile — Adds a named profile to the Gmagick object
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.
name
Name of profile to add or remove: ICC, IPTC, or generic profile.
profile
The profile.
The Gmagick object on success.
错误时抛出 GmagickException。
官方地址:https://www.php.net/manual/en/gmagick.setimageprofile.php