The Imageick strip_meta
function is only called if the image_strip_meta
hook returns true, but the function doesn’t actually strip all profiles. Some are protected, as you can see in the function code:
/*
* Protect a few profiles from being stripped for the following reasons:
*
* - icc: Color profile information
* - icm: Color profile information
* - iptc: Copyright data
* - exif: Orientation data
* - xmp: Rights usage data
*/
$protected_profiles = array(
'icc',
'icm',
'iptc',
'exif',
'xmp',
);