在线文档教程
PHP
Image/ImageMagick

Imagick::profileImage

Imagick::profileImage

(PECL imagick 2.0.0)

Imagick::profileImage — Adds or removes a profile from an image

Description

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

Adds or removes a ICC, IPTC, or generic profile from an image. If the profile is NULL, it is removed from the image otherwise added. Use a name of '*' and a profile of NULL to remove all profiles from the image.

Parameters

name profile

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

← Imagick::previousImage

Imagick::quantizeImage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.profileimage.php