Function: exif-parse-file
exif-parse-file is a byte-compiled function defined in exif.el.gz.
Signature
(exif-parse-file FILE)
Documentation
Parse FILE (a JPEG file) and return the Exif data, if any.
The return value is a list of Exif items.
If the data is invalid, an exif-error is signaled.
Also see the exif-field convenience function to extract data
from the return value of this function.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/image/exif.el.gz
(defun exif-parse-file (file)
"Parse FILE (a JPEG file) and return the Exif data, if any.
The return value is a list of Exif items.
If the data is invalid, an `exif-error' is signaled.
Also see the `exif-field' convenience function to extract data
from the return value of this function."
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-file-contents-literally file)
(exif-parse-buffer)))