Imagick::getImageSignature

(PECL imagick 2, PECL imagick 3)

Imagick::getImageSignatureGenerates an SHA-256 message digest

說明

public Imagick::getImageSignature(): string

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 ImagickException。