php8.5
Home/ Manual/ ps / functions/ ps_save

ps_save

PHP function Edit on GitHub ✎

(PECL ps >= 1.1.0)

Save current context

Description

ps_save(resource $psdoc): bool

Saves the current graphics context, containing colors, translation and rotation settings and some more. A saved context can be restored with ps_restore().

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

Return Values

Success

See Also

Source: reference/ps/functions/ps-save.xml · from the official PHP manual (php/doc-en)