php8.5
Home/ Manual/ imagick / imagick/ Imagick::getImageSignature

Imagick::getImageSignature

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Generates an SHA-256 message digest

Description

Imagick::getImageSignature(): string

Generates an SHA-256 message digest for the image pixel stream.

Parameters Parameters

Return Values

Returns a string containing the SHA-256 hash of the file.

Errors/Exceptions

Throws

Source: reference/imagick/imagick/getimagesignature.xml · from the official PHP manual (php/doc-en)