Php/docs/imagick.getimageprofiles

来自菜鸟教程
跳转至:导航、​搜索

Imagick::getImageProfiles

(PECL imagick 2, PECL imagick 3)

Imagick::getImageProfilesReturns the image profiles


说明

public Imagick::getImageProfiles ([ string $pattern = "*" [, bool $include_values = true ]] ) : array

Returns all associated profiles that match the pattern. If false is passed as second parameter only the profile names are returned. 此方法在Imagick基于ImageMagick 6.3.6以上版本编译时可用。


参数

pattern
The pattern for profile names.
include_values
Whether to return only profile names. If false then only profile names will be returned.


返回值

Returns an array containing the image profiles or profile names.