Home > Backend Development > PHP Tutorial > 图片要在手机上显示,需压缩大小显示,求指点

图片要在手机上显示,需压缩大小显示,求指点

WBOY
Release: 2016-06-13 12:16:43
Original
1020 people have browsed it

图片要在手机上显示,需要压缩大小显示,求指点。
网站上的图片想要在手机上显示,需要压缩大小显示,求指点。
------解决思路----------------------
GD
imagecopyresampled -- 重采样拷贝部分图像并调整大小

------解决思路----------------------
可以使用imagemagick,比GD好。
参考:http://blog.csdn.net/fdipzone/article/details/9316385

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