编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 annotates an image with textphp imagick makes an exact copy of the imagick objectphp imagick the imagick constructorphp imagick enhances the contrast of a color imagephp imagick distorts an image using various distortion methodsphp imagick creates a horizontal mirror imagephp imagick returns a new imagick objectphp imagick gets image clip maskphp imagick gets the image gravityphp imagick returns the named image profilephp imagick returns the virtual pixel methodphp imagick returns the imagemagick release datephp imagick adds a label to an imagephp imagick simulates motion blurphp imagick simulates a polaroid picturephp imagick descriptionphp imagick scales an image with pixel samplingphp imagick sets image alpha channelphp imagick sets the image depthphp imagick sets the page geometry of the image
关注编程学问公众号
编程学问网 湘ICP备20001732号