Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::compositeImageImagick::contrastImage>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::__construct

(PECL imagick 2, PECL imagick 3)

Imagick::__construct — The Imagick constructor

Description

public function 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 ImagickException on error.


<Imagick::compositeImageImagick::contrastImage>
^ImagickLast updated: Mon, 26 Oct 2026