Removes EXIF information from JPG and PNG files
Uses go-exif to extract EXIF information and overwrites the EXIF region.
Note
This package was originally hosted at github.com/scottleedavis/go-exif-remove
and got removed.
In this repository we restored a copy out of the Go module cache and continued maintenance.
import "github.com/zitadel/go-exif-remove"
noExifBytes, err := exifremove.Remove(imageBytes)
See example usage in exif-remove-tool