php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::setfilename

Gmagick::setfilename

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the filename before you read or write the image

Description

Gmagick::setfilename(string $filename): Gmagick

Sets the filename before you read or write an image file.

Parameters

filename

The image filename.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/setfilename.xml · from the official PHP manual (php/doc-en)