Yup. Editing or deleting the exif data is the best way to go. If you just want to quickly remove location data, use a screenshot of the image.
Comment on How do I make an image (or video) safe to post online?
fuzzy_feeling@programming.dev 6 months ago
exiftool might be, what you are looking for.
disguy_ovahea@lemmy.world 6 months ago
treadful@lemmy.zip 6 months ago
exiftool -all= /path/to/file
EZ
MehBlah@lemmy.world 6 months ago
OP should be aware removing this data will often require you to change the orientation of the image. Its one of the problems with using exif data to store the orientation rather allowing the image to be seen the way its really stored. I made one of my daughters high school teachers furious when I pointed out why the images the kids were uploading were being saved ‘sidewase’ to use the teachers description. When she assured me the software vendor assured them it wasn’t anything they were doing and I showed her on the sites support pages where they addressed the issue. I also explained to my daughter the correct way to take the pictures with her phone so they looked the same after the exif data was removed. She told the rest of the kids and the problem largely went away.
grue@lemmy.world 6 months ago
You could always selectively remove the sensitive exif info while leaving the orientation intact, though. It just takes being slightly more competent at using the tool.
MehBlah@lemmy.world 6 months ago
In this case it was a bunch of high school kids uploading their work in the form of an image to a… I wont say low effort but definitely low support pre-google learning website. I remember the python tool they were using just stripped all exif data and to be truthful don’t know it it had options to leave some of it intact. The real factor here is if the phone manufacturers, apple being one of them had bothered to fix the orientation of a image to its actual orientation and used the viewing software to orient it to the screen it wouldn’t have been a problem. Instead they used the exif data which guaranteed when the image was processed in any way that altered that exif data it would come out wrong unless it happened to have been taken in the correct orientation with the camera itself. Which wasn’t the natural orientation when taking a picture with a smart phone.
xmunk@sh.itjust.works 6 months ago
Honestly, it’s nice to hear that the developer considered the exif data and scrubbed it… even if they did it poorly.