Imagick::setRegistry

(PECL imagick 3 >= 3.3.0)

Imagick::setRegistrySets the ImageMagick registry entry named key to value

Description

public static Imagick::setRegistry(string $key, string $value): bool

Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.

Parameters

key

value

Return Values

Returns true on success.