在线文档教程
PHP
Image/GraphicsMagick

Gmagick::readimage

Gmagick::readimage

(PECL gmagick >= Unknown)

Gmagick::readimage — Reads image from filename

Description

public Gmagick Gmagick::readimage ( string $filename )

Reads image from filename.

Parameters

filename

The image filename.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::read

Gmagick::readimageblob →

© 1997–2017 The PHP Documentation Group

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

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