Re: [問題] php4 + gd2 是不是支援 gif 了
※ 引述《style.bbs@mocsa.twbbs.org (東方不敗風雲再起)》之銘言:
> # pkg_info | grep gd
> gd-2.0.15_1,1 A graphics library for fast creation of images
> # pkg_info | grep php
> php4-4.3.6_1 PHP Scripting Language (Apache Module and CLI)
> #php -r 'var_dump(function_exists("imagegif"));'
> bool(true)
> #php -r 'var_dump(function_exists("imagecreatefromgif"));'
> bool(true)
> php manual 有提到兩點
> 1.
> Note: Since all GIF support was removed from the GD library in version 1.6,
> this function is not available if you are using that version of the GD library.
> 2.
> Only supported in GD versions older than gd-1.6. Read-only GIF support is
> available with PHP 4.3.0 and the bundled GD-library.
> 第二點所提的Read-only是指 ?
gif 有專利權利金的問題,所以 gd 程式庫目前已經在後來的版本移除 gif
格式支援。
read-only 表示只有支援讀取格式內容,不支援產生與輸出任何 gif 圖片
格式檔案。
--
相信一種真誠存在於心與心之間...
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: 61-221-29-87.hinet-ip.hinet.net
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章