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

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

WBOY
WBOYOriginal
2016-06-13 13:13:162176browse

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

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

Statement:
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