Imagick::identifyFormat

(No version information available, might only be in Git)
Description
public string|false Imagick::identifyFormat ( string $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.

Parameters:
embedText

A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".

Returns:
Examples:
Imagick::identifyFormat()
1
2
3
4
5
6
<?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");
 
?>
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.