array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'gmagick.setimageprofile.php', 1 => 'Gmagick::setimageprofile', 2 => 'Adds a named profile to the Gmagick object', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.setimageiterations.php', 1 => 'Gmagick::setimageiterations', ), 'next' => array ( 0 => 'gmagick.setimageredprimary.php', 1 => 'Gmagick::setimageredprimary', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/setimageprofile.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Gmagick::setimageprofile

(PECL gmagick >= Unknown)

Gmagick::setimageprofileAdds a named profile to the Gmagick object

Açıklama

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.

Bağımsız Değişkenler

name

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

profile

The profile.

Dönen Değerler

The Gmagick object on success.

Hatalar/İstisnalar

Hata durumunda bir GmagickException istisnası oluşur.