1
Fork 0

Merge pull request #807 from tymmej/extend_buffer

Fixes issue #804
This commit is contained in:
Viktor Strate Kløvedal 2023-03-03 14:36:06 +01:00 committed by GitHub
commit 27d0db5518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ type externalExifParser struct {
}
func NewExiftoolParser() (ExifParser, error) {
et, err := exiftool.NewExiftool(exiftool.NoPrintConversion())
buf := make([]byte, 256*1024)
et, err := exiftool.NewExiftool(exiftool.NoPrintConversion(), exiftool.Buffer(buf, 64*1024))
if err != nil {
log.Printf("Error initializing ExifTool: %s\n", err)