Describe the bug
Until 8.0.2, we can remove exif info using setting the edit rotate value to "null". Now, this no longer works, and we there is the option stripExif. This was added on the PR #635 but it does not seems to work. It tries to overwrite all the exif adding a "Software" key, but it does not remove all the other ones as intended:
if (edits?.stripExif === true) {
// Removes all EXIF by inserting minimal EXIF tag. Leaves ICC untouched.
image.keepIccProfile().withExif({
IFD0: {
Software: 'Dynamic Image Transformation for Amazon CloudFront'
}
});
delete edits.stripExif;
}
It just ADDS the Software key but keeping the old ones.
To Reproduce
'edits' => [
'stripExif' => true,
'stripIcc' => true,
'resize' => [
'width' => 285,
'height' => 285,
'fit' => 'cover',
'position' => 'entropy',
'serial' => 81
],
]
Expected behavior
Please complete the following information about the solution:
Screenshots

Describe the bug
Until 8.0.2, we can remove exif info using setting the edit rotate value to "null". Now, this no longer works, and we there is the option stripExif. This was added on the PR #635 but it does not seems to work. It tries to overwrite all the exif adding a "Software" key, but it does not remove all the other ones as intended:
It just ADDS the Software key but keeping the old ones.
To Reproduce
'edits' => [
'stripExif' => true,
'stripIcc' => true,
'resize' => [
'width' => 285,
'height' => 285,
'fit' => 'cover',
'position' => 'entropy',
'serial' => 81
],
]
Expected behavior
Please complete the following information about the solution:
Screenshots