编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 adds new image to imagick object image listphp imagick clears all resources associated to imagick objectphp imagick the imagick constructorphp imagick reduces the speckle noise in an imagephp imagick descriptionphp imagick gets fontphp imagick the getimagechannelkurtosis purposephp imagick returns the filename of a particular image in a sequencephp imagick descriptionphp imagick gets the image ticks per secondphp imagick descriptionphp imagick creates a new image as a copyphp imagick creates a composite imagephp imagick changes any pixel that matches color with the color defined by fillphp imagick creates a high contrast two color imagephp imagick offsets an imagephp imagick sets fontphp imagick sets the image composite operatorphp imagick sets the image matte channelphp imagick sets the image compression
关注编程学问公众号
编程学问网 湘ICP备20001732号