mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:59:03 +00:00
@@ -16,7 +16,9 @@ type externalExifParser struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewExiftoolParser() (ExifParser, error) {
|
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 {
|
if err != nil {
|
||||||
log.Printf("Error initializing ExifTool: %s\n", err)
|
log.Printf("Error initializing ExifTool: %s\n", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user