image2wbmp說明int image2wbmp ( resource image [, string filename [, int threshold]] )image2wbmp() 從 image 圖像建立一個名為 filename 的 WBMP 檔案。image 參數是某個圖像建立函數的返回值,例如 imagecreatetruecolor()。 filename 參數是可選項,若果省略,則直接將原圖像流輸出。通過用 header() 傳送 image/vnd.wap.wbmp 的 Content-type,可以建立直接輸出 WBMP 圖像的 PHP 腳本。
參見 imagewbmp()。 | |||