assemblee-virtuelle / semapps

A toolbox to create semantic web applications
https://semapps.org
Apache License 2.0
87 stars 8 forks source link

Stripe off metadata from uploaded media files #1202

Open Laurin-W opened 12 months ago

Laurin-W commented 12 months ago

@mguihal made a PR https://github.com/assemblee-virtuelle/semapps/pull/1196 that removes the original file name for uploads. That reminded me that it would be great to remove metadata (like gps coordinates) from uploaded media files as well.

There are libraries available for that like: https://www.npmjs.com/package/@xoi/gps-metadata-remover

srosset81 commented 12 months ago

Good idea ! Maybe it could be integrated in the ImageProcessorMixin so that it can be easily turned on and off.