Gmagick::setimageprofile

(PECL gmagick >= Unknown)

Gmagick::setimageprofileAdds a named profile to the Gmagick object

说锟斤拷

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.

锟斤拷锟斤拷

name

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

profile

The profile.

锟斤拷锟斤拷值

The Gmagick object on success.

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷时锟阶筹拷 GmagickException锟斤拷