编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::compositeImage
  • Imagick::contrastImage »
  • PHP Manual
  • Imagick
  • The Imagick constructor

Imagick::__construct

(PECL imagick 2.0.0)

Imagick::__construct — The Imagick constructor

说明

Imagick::__construct ([ mixed $files ] )

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

参数

files

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

返回值

Returns a new Imagick object on success.

错误/异常

错误时抛出 ImagickException。

相关文章
php imagick animates an image or imagesphp imagick clips along the named paths from the 8bim profilephp imagick the imagick constructorphp imagick change the contrast of the imagephp imagick displays an image or image sequencephp imagick changes the color value of any pixel that matches targetphp imagick returns the imagemagick home urlphp imagick returns statistics for each channel in the imagephp imagick gets the width and height as an associative arrayphp imagick returns the color of the specified pixelphp imagick 获取图像的分辨率单位php imagick descriptionphp imagick descriptionphp imagick forms a mosaic from imagesphp imagick get basic image attributes in a lightweight mannerphp imagick reads image from open filehandlephp imagick rounds image cornersphp imagick replaces image in the objectphp imagick sets the image delayphp imagick sets the image orientation
关注编程学问公众号
编程学问网 湘ICP备20001732号