GoLang Imagick::identifyFormat

request it (193)
GoLang replacement for PHP's Imagick::identifyFormat [edit | history]



Do you know a GoLang replacement for PHP's Imagick::identifyFormat? Write it!

PHP Imagick::identifyFormat

PHP original manual for Imagick::identifyFormat [ show | php.net ]

Imagick::identifyFormat

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

Imagick::identifyFormatDescription

Description

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

Return Values

Returns format or FALSE on failure.

Examples

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

?>