Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to remove metadata from images #372

Open
bigint opened this issue Feb 13, 2023 · 1 comment
Open

Is there any way to remove metadata from images #372

bigint opened this issue Feb 13, 2023 · 1 comment

Comments

@bigint
Copy link

bigint commented Feb 13, 2023

Is there any way to remove metadata like GPS location etc from an image?

@willnorris
Copy link
Owner

No, not currently. I believe the exif library I'm currently using (https://github.com/rwcarlsen/goexif) only supports decoding exif data. It looks like https://github.com/dsoprea/go-exif also supports encoding exif, but I'm not sure I love the idea of doing that. If the goal is location privacy, this isn't really going to do a lot, since imageproxy makes no effort to hide the URL of the source image, which would still contain the location data. If the goal is file size, how large is the location data compared to the image itself? I would guess it's just lat/lon coordinates, altitude, and a timestamp or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants