Home >Backend Development >PHP Tutorial >上传图片时可否直接format成特定的格式?

上传图片时可否直接format成特定的格式?

WBOY
WBOYOriginal
2016-06-06 20:33:571153browse

比如统一成jpg文件,在上传的时候指定

回复内容:

比如统一成jpg文件,在上传的时候指定

上传完成之后,可以用GD等库来做。 类似生成缩略图的方法。

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