开发者

Patterned text using php GD library

Im trying to create something that looks like this using ph开发者_运维知识库p gd library:

Patterned text using php GD library

I've figured out how to create simple text using gd library, but im stuck on how to put a patterned text in it.

Anybody have any idea on how to do this?


Yes, this is possible. To do it, you need to uses masks. This website has a nice example: http://www.phpbuilder.com/columns/cash20030526.php3?print_mode=1. Scroll to the bottom of the page, to the "Textures" section for their solution.


you could create your text as a image object with Alpha mask then apply that mask on a solid image of your "fill" image

check out alpha blending here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜