array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'imagick.tostring.php', 1 => 'Imagick::__toString', 2 => 'Returns the image as a string', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.tintimage.php', 1 => 'Imagick::tintImage', ), 'next' => array ( 0 => 'imagick.transformimage.php', 1 => 'Imagick::transformImage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/toString.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::__toString

(PECL imagick 2, PECL imagick 3)

Imagick::__toStringReturns the image as a string

Опис

public Imagick::__toString(): string

Returns the current image as string. This will only return a single image; it should not be used for Imagick objects that contain multiple images e.g. an animated GIF or PDF with multiple pages.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the string content on success or an empty string on failure.

Прогляньте також