https://github.com/xis/go-dexif
remove exif data from image file
https://github.com/xis/go-dexif
delete dexif exif fast go go-dexif golang image jpg remove
Last synced: about 2 months ago
JSON representation
remove exif data from image file
- Host: GitHub
- URL: https://github.com/xis/go-dexif
- Owner: xis
- License: mit
- Created: 2020-01-30T23:36:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T22:41:37.000Z (about 5 years ago)
- Last Synced: 2025-08-15T17:38:34.455Z (7 months ago)
- Topics: delete, dexif, exif, fast, go, go-dexif, golang, image, jpg, remove
- Language: Go
- Homepage:
- Size: 2.19 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-dexif
[](https://forthebadge.com)
removes exif, not safe currently, have problems with images that contains orientation data, supports only jpeg.
# install
```bash
go get github.com/xis/go-dexif
```
# usage
```go
import (
"log"
"github.com/xis/go-dexif"
)
func main() {
buf, err := ioutil.ReadFile("./image.jpg")
if err != nil {
log.Fatal(err)
}
image := NewImage(buf)
newImage, err := image.Strip()
if err != nil {
log.Fatal(err)
}
}
```