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

Imagick::__construct

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

The Imagick constructor

Description

Imagick::__construct([mixed $files])

Creates an Imagick instance for a specified image or set of images.

Parameters

files

The path to an image to load or an array of paths. Paths can include wildcards for file names, or can be URLs.

Errors/Exceptions

Throws

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