Gmagick::getimagesignature

(PECL gmagick >= Unknown)

Gmagick::getimagesignatureGenerates an SHA-256 message digest

說明

public Gmagick::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.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException