Imagick::identifyFormat
(PECL imagick 3 >= 3.3.0)
Imagick::identifyFormat — Description
Beschreibung
$embedText
): string|falseReplaces 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.
Parameter-Liste
-
embedText
-
A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
Rückgabewerte
Returns formatBei einem Fehler wird false
zurückgegeben..
Beispiele
Beispiel #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");
?>