Exif Metadata Pruning

For feature requests, please see: https://mattermost.com/suggestions/.

For troubleshooting questions, please post in the following format:

Summary
Mattermost automatically removes metadata from uploaded images

Steps to reproduce
Add metadata to an image with a tool like exifTool
Send the image to a mattermost channel using an API call
Download the image, and view the image’s metadata through exiftool. Metadata set in the first step is removed.

Expected behavior
Images should retain metadata after being processed through my local mattermost server instance.

Observed behavior
I’m using a bot that responds to users with images in mattermost. After adding the Exif metadata to the image that is going to be sent to the user, the image the user receives has almost all tags removed.

https://mattermost.uservoice.com/forums/306457-general/ is a good place to post feature requests.

I had the same concern about leftover metadata causing privacy issues. What helped me a lot was learning how tools in digital asset management can clean up that stuff automatically.

This article explained it in a super clear way: https://www.blueberry-ai.com/blog/how-digital-asset-management-features-improve-workflow. The part about auto-scrubbing metadata on upload gave me a couple of ideas for my own setup.