Home > Backend Development > PHP Tutorial > php生成背景图的微信二维码

php生成背景图的微信二维码

WBOY
Release: 2016-06-23 13:30:57
Original
1243 people have browsed it

微信生成三维码,我自己会。

但是如何生成在一个带背景图的二维码呢?


回复讨论(解决方案)

你把二维码图片放到背景图上就是了

你把二维码图片放到背景图上就是了



二者会是一个整理吗?

怎么会?你要让是一个整体,那就要动用 GD 了

使用 gd的 imagecopy($dest_img, $water_img, $posX, $posY, 0, 0, $w, $h);  方法,把logo叠在上面就可以了。

参考水印那里:http://blog.csdn.net/fdipzone/article/details/9316385

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