Imagick::identifyFormat

(No version information available, might only be in Git)

Imagick::identifyFormatDescription

说锟斤拷

public Imagick::identifyFormat ( string $embedText ) : string

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".

锟斤拷锟斤拷值

Returns format 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

锟斤拷锟斤拷

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");

?>