Home > PHP > Function > > Imagick::__construct()

Imagick::__construct()

Imagick::__construct - The Imagick constructor

Syntax

Imagick Imagick::__construct (mixed $files)

Arguments

  • files - Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channeltype constants using bitwise operators. Refer to this list of channel constants.

Description

The Imagick constructor

Version

PHP PECL imagick 2.0.0

Return value

Returns a new Imagick object on success. Throw an ImagickExceptionon error.