Home >php教程 >php手册 >php移除图片exif信息

php移除图片exif信息

WBOY
WBOYOriginal
2016-06-06 20:14:141389browse

最简便的方法,需要gd扩展 $img = imagecreatefromjpeg ($path);imagejpeg ($img, $path, 100);imagedestroy ($img); 引用自?http://stackoverflow.com/questions/3614925/remove-exif-data-from-jpg-using-php gd

最简便的方法,需要gd扩展

$img = imagecreatefromjpeg ($path);
imagejpeg ($img, $path, 100);
imagedestroy ($img);

引用自?http://stackoverflow.com/questions/3614925/remove-exif-data-from-jpg-using-php

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