Closed jishi92 closed 1 year ago
Hi,
I've checked very quickly : it seems that exiftool
only supports files as input.
go-exiftool
might create a temporary file, copy the []byte
in the file and then extract metadata from the file but that could be done on the client-side.
Nevertheless, as I told, I've just checked quickly : do you know how to do it using exiftool
directly ?
Since I dit not get any answer, I close the issue.
@jishi92 > if you come back, don't hesitate to re-open the issue.
If I have []byte data from internet and now I have to save it a file and then call
ExtractMetadataInfo(filename)
. Does thestay_open
pattern support input []byte data? Such asfunc ExtractMetadataInfo(data []byte)(rst FileMetadata,err error){ }