php 多张图片合并成一张,如何处理?谢谢!
------解决方案--------------------
用imagemagick
------解决方案--------------------
Yeah it's reasonably simple.
You just use imagecopy() or imagecopyresized() to copy an image (or part of an image) onto another one.
If you are working with lots of big images then it can be very memory intensive, so you may need to increase PHP's memory_limit with ini_set() to at least 64MB.
http://forums.devshed.com/php-development-5/how-do-i-merge-various-images-into-one-using-gd-502604.html
相关文章
相关视频
- 带你看懂PHP中的class定义类与成员属性方法
- PHP中怎样实例化对象并且访问对象成员?
- 你知道这个PHP命令行选项解析库(pflag)吗?
- PHP中如何才能将时间日期格式化?怎么计算时间差?
- php 多张图片合并成一张,如何避免
网友评论
文明上网理性发言,请遵守 新闻评论服务协议
我要评论