使用PHP GD组合两个图像(.JPG) [英] Combine two images (.JPG) using PHP GD
本文介绍了使用PHP GD组合两个图像(.JPG)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法找到解决方案。我想为此图片添加20px空白区域:
http:// img233。 imageshack.us/img233/419/78317401.jpg
I can't find a solution to this. I want to add 20px empty space to this image: http://img233.imageshack.us/img233/419/78317401.jpg
然后将此水印粘贴在底部(空白处)
and then paste this watermark at the bottom (on the blank space)
所以输出结果为:
http://img252.imageshack.us/img252/4554/wynik.jpg
我不想要拉伸它。
编辑
用WIdeImage做了。 Rly简单。
Did it with WIdeImage. Rly simple.
推荐答案
尝试宽图像api http://wideimage.sourceforge.net/
看看他们的一个这个演示可能对你有所帮助
合并和
调整大小
Try wide image api http://wideimage.sourceforge.net/
Check out one of their this demo may be that help you
Merge and
Resize
这篇关于使用PHP GD组合两个图像(.JPG)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文