©
本文档使用 PHP中文网手册 发布
(No version information available, might only be in Git)
Imagick::identifyFormat — Description
$embedText
)Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See http://www.imagemagick.org/script/escape.php for escape sequences.
embedText
A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
Example #1 Imagick::identifyFormat()
<?php
$output = "Output of 'Trim box: %@ number of unique colors: %k' is: <br/>" ;
$imagick = new \ Imagick ( realpath ( "./images/artifact/mask.png" ));
$output .= $imagick -> identifyFormat ( "Trim box: %@ number of unique colors: %k" );
?>