在线文档教程
PHP
Image/GraphicsMagick

Gmagick::__construct

Gmagick::__construct

(PECL gmagick >= Unknown)

Gmagick::__construct — The Gmagick constructor

Description

public Gmagick::__construct ([ string $filename ] )

The Gmagick constructor.

Parameters

filename

The path to an image to load or array of paths

Return Values

Returns a new Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::compositeimage

Gmagick::cropimage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagick.construct.php