You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+10-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
**go-exiftool** is a golang library that wraps [ExifTool](https://www.sno.phy.queensu.ca/~phil/exiftool/).
10
10
11
-
[ExifTool](https://www.sno.phy.queensu.ca/~phil/exiftool/)'s purpose is to extract as much metadata as possible (EXIF, IPTC, XMP, GPS, ...) from [a lots of differents file types](https://www.sno.phy.queensu.ca/~phil/exiftool/#supported) (Office documents, pictures, movies, PDF, ...).
11
+
[ExifTool](https://www.sno.phy.queensu.ca/~phil/exiftool/)'s purpose is to extract and update as much metadata as possible (EXIF, IPTC, XMP, GPS, ...) from [a lots of differents file types](https://www.sno.phy.queensu.ca/~phil/exiftool/#supported) (Office documents, pictures, movies, PDF, ...).
12
12
13
13
**go-exiftool** uses [ExifTool](https://www.sno.phy.queensu.ca/~phil/exiftool/)'s *`stay_open`* feature to [optimize performance](https://www.sno.phy.queensu.ca/~phil/exiftool/#performance).
14
14
@@ -22,6 +22,8 @@ By default, `go-exiftool` binary will look for `exiftool` binary in $PATH, but a
22
22
23
23
## Usage
24
24
25
+
### Metadata extraction
26
+
25
27
```go
26
28
et, err:= exiftool.NewExiftool()
27
29
if err != nil {
@@ -62,6 +64,10 @@ Output :
62
64
(...)
63
65
```
64
66
67
+
### Metadata update
68
+
69
+
See [example function ExampleExiftool_Write in exiftool_sample_test.go](exiftool_sample_test.go)
0 commit comments