imagegif說明bool imagegif ( resource image [, string filename] )imagegif() 從 image 圖像以 filename 為檔案名建立一個 GIF 圖像。image 參數是 imagecreatetruecolor() 函數的返回值。 圖像格式為 GIF87a。若果用了 imagecolortransparent() 使圖像為透明,則其格式為 GIF89a。 filename 參數為可選,若果省略,則原始圖像流將被直接輸出。通過 header() 傳送 Content-type: image/gif 可以使 PHP 腳本直接輸出 GIF 圖像。
| |||