在线文档教程
PHP
Image/GraphicsMagick

Gmagick::writeimage

Gmagick::writeimage

(PECL gmagick >= Unknown)

Gmagick::writeimage — Writes an image to the specified filename

Description

public Gmagick Gmagick::writeimage ( string $filename [, bool $all_frames = false ] )

Writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by Gmagick::ReadImage() or Gmagick::SetImageFilename().

Parameters

filename

The image filename.

Return Values

The Gmagick object

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::write

GmagickDraw →

© 1997–2017 The PHP Documentation Group

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

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