Home > Backend Development > PHP Tutorial > php修改gif图片尺寸的程序,并保持gif动态效果

php修改gif图片尺寸的程序,并保持gif动态效果

WBOY
Release: 2016-06-13 10:23:54
Original
1056 people have browsed it

求一个php修改gif图片尺寸的程序,并保持gif动态效果
求一个php修改gif图片尺寸的程序,并保持gif动态效果,谢谢大家

------解决方案--------------------
用ImageMagick 之类的东西试试。没修改过。

http://hi.baidu.com/sxcosp/blog/item/1821af08956437194afb51d9.html
------解决方案--------------------
http://cn.php.net/manual/en/function.imagecopyresized.php


第一个评论提供了一个类。
------解决方案--------------------
拆分多帧gif GIFReader.php
组装多帧gif GIFEncoder.class.php

连个文件都可以在网上搜到

性能上略逊于 ImageMagick,但你并不总是能获得 ImageMagick 支持的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template