Imagick::setImageProfile

(PECL imagick 2.0.0)

Imagick::setImageProfileAdds a named profile to the Imagick object

說明

bool Imagick::setImageProfile ( string $name , string $profile )

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

參數

name

profile

回傳值

成功時回傳 TRUE

錯誤/例外

錯誤時拋出 ImagickException。

add a note add a note

User Contributed Notes

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