NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Strip EXIF Data Out of Your Image Files Before Posting (sheep.horse)
kristianp 6 days ago [-]
Can you keep the lens and camera info, while stripping the location data? It can be interesting to see the focal length and aperture, etc used if you're into photography.
AndrewStephens 6 days ago [-]
This was my blog post. I didn't explain it very very but I agree that you do not want to completely strip out the useful EXIF data. In particular, the colorspace values are used by the browser to show photos in a more "correct" way on your screen.

My blogging software only strips the GPS EXIF data. The code is here:

https://github.com/andrewstephens75/gensite/blob/dev/gensite...

nofalsescotsman 7 days ago [-]
exiv2 is a fantastic command line tool to do this. Lightening fast.
7 days ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:25:28 GMT+0000 (Coordinated Universal Time) with Vercel.