- 论坛徽章:
- 0
|
如何处理缩略图问题,谢谢.GD好像不能处理JPG,GIF的...
记得 GD 已经取消了 gif 的支持. 到 GD 的manual page 里看了一下.
Version 1.6 features the following changes:
Support for 8-bit palette PNG images has been added. Support for GIF has been removed. This step was taken to completely avoid the legal controversy regarding the LZW compression algorithm used in GIF. Unisys holds a patent which is relevant to LZW compression. PNG is a superior image format in any case. Now that PNG is supported by both Microsoft Internet Explorer and Netscape (in their recent releases), we highly recommend that GD users upgrade in order to get well-compressed images in a format which is legally unemcumbered.
该可以认为 GD 1.6 之后已经没有 gif 支持了. 听说 Unisys 的 paten 过期了, 但在一些国家还没有.
"Yes, Unisys still holds a patent on the LZW compression algorithm in some countries. The best solution is to move to legally unencumbered, well-compressed, modern image formats such as PNG and JPEG as soon as possible."
我以前也做过 GD 的缩图, 图片质量确实不好. 不过 image::magick 的不错.
讲太多无关的了... i will shut up.  |
|