请问一个关于GD的应用

WBOY
Release: 2016-06-13 13:49:52
Original
894 people have browsed it

请教一个关于GD的应用

如图所示,要求使用GD库相关函数实现图示效果,既使用小图片(比如50*50)拼成一个汉字大图
思考了许久都没有头绪,还请各位达人指点一二,不甚感激!

------解决方案--------------------
先在目标图片的50分之一的样板图中写入所需汉字(黑字白底)
创建大图,如果你的内存不足,可能创建失败
遍历样板图,对于每一个点,向大图拷贝小图片

Related labels:
50
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