Imagick::readImageFile

(PECL imagick 2, PECL imagick 3)

Imagick::readImageFileReads image from open filehandle

Description

public Imagick::readImageFile(resource $filehandle, string $fileName = null): bool

Reads image from open filehandle

Parameters

filehandle

fileName

Return Values

Returns true on success.

Errors/Exceptions

Throws ImagickException on error.