Home > Backend Development > PHP Tutorial > 请问一上 imagecopymerge函数合成图片以后 怎么保存

请问一上 imagecopymerge函数合成图片以后 怎么保存

WBOY
Release: 2016-06-13 10:48:41
Original
1253 people have browsed it

请教一下 imagecopymerge函数合成图片以后 如何保存啊
如题:请教一下 imagecopymerge函数合成图片以后 如何保存啊
流程是这样的,首先我上传图片,然后图片保存到临时目录,然后用imagecopymerge函数加入水印,接下来如何把合成水印的图片保存到最终目录呢?

------解决方案--------------------
move_upload_file();
把临时文件移动到你需要的目录内。

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