Fixes issue 804

This commit is contained in:
Jakub Tymejczyk
2023-02-28 15:33:02 +01:00
parent 87e80cf21f
commit a2170bc02b

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)