PHP 7.0.6 Released

Imagick::stripImage

(PECL imagick 2.0.0)

Imagick::stripImageStrips an image of all profiles and comments

Description

bool Imagick::stripImage ( void )

Strips an image of all profiles and comments.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

User Contributed Notes

g dot a dot karthikeyan at gmail dot com
2 years ago
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
pengc99
4 years ago
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.
To Top