PHP - Manual: ps_save
2025-02-27
(PECL ps >= 1.1.0)
ps_save — Save current context
$psdoc
Saves the current graphics context, containing colors, translation and rotation settings and some more. A saved context can be restored with ps_restore().
psdoc
Resource identifier of the postscript file as returned by ps_new().
成功时返回 true, 或者在失败时返回 false。
true
false
官方地址:https://www.php.net/manual/en/function.ps-save.php