有没有办法使用 
 PHP从JPG中删除EXIF数据?我听说过PEL,但我希望有一个更简单的方法.我正在上传将在线显示的图像,并希望删除EXIF数据. 
  
 
谢谢!
编辑:我不/无法安装ImageMagick.
 使用gd重新创建新图像的图形部分,使用另一个名称保存. 
  
 
                    
                    
                见PHP gd
编辑2017
使用新的Imagick功能.
打开图片:
<?PHP
    $incoming_file = '/Users/John/Desktop/file_loco.jpg';
    $img = new Imagick(realpath($incoming_file)); 
 确保在图像中保留任何ICC配置文件
$profiles = $img->getimageProfiles("icc",true); 
 然后剥离图像,并将配置文件退回(如果有)
$img->stripImage();
    if(!empty($profiles)) {
       $img->profileImage("icc",$profiles['icc']);
    } 
 来自this PHP page,请参阅Max Eremin的评论.