2024 年日本 PHP 研討會

Imagick::writeImagesFile

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::writeImagesFile將影格寫入檔案控制代碼

說明

公開 Imagick::writeImagesFile(資源 $filehandle, 字串 $format = ?): 布林

將所有影像影格寫入已開啟的檔案控制代碼。此方法可用於將動畫 GIF 或其他多影格影像寫入已開啟的檔案控制代碼。如果 Imagick 是針對 ImageMagick 6.3.6 或更新版本編譯的,則可以使用此方法。

參數

filehandle

要寫入影像的檔案控制代碼。

format

影像格式。有效格式說明符的清單取決於 ImageMagick 的編譯功能集,並且可以在執行時期透過 Imagick::queryFormats() 查詢。

傳回值

成功時傳回 true

另請參考

新增註記

使用者提供的註記

此頁面沒有使用者提供的註記。
To Top