文字

Imagick::stripImage

(PECL imagick 2.0.0)

Imagick::stripImage去掉图片的所有配置和设置

说明

bool Imagick::stripImage ( void )

去掉图片的所有配置和设置

返回值

成功时返回 TRUE

错误/异常

错误时抛出 ImagickException。

用户评论:

[#1] g dot a dot karthikeyan at gmail dot com [2013-12-23 07:09:21]

Please note that striping off the exif information without handling the orientation information available in the exif will lead to wrong orientation of the image

[#2] pengc99 [2011-05-02 22:09:20]

this will actually clear exif data so if you run an image uploading script with privacy concerns, this will effectively clear all GPS / metadata from the image.

上一篇: 下一篇: