Function: image-dired-set-exif-data
image-dired-set-exif-data is a byte-compiled function defined in
image-dired.el.gz.
Signature
(image-dired-set-exif-data FILE TAG-NAME TAG-VALUE)
Documentation
In FILE, set EXIF tag TAG-NAME to value TAG-VALUE.
Source Code
;; Defined in /usr/src/emacs/lisp/image-dired.el.gz
(defun image-dired-set-exif-data (file tag-name tag-value)
"In FILE, set EXIF tag TAG-NAME to value TAG-VALUE."
(image-dired--check-executable-exists
'image-dired-cmd-write-exif-data-program)
(let ((spec
(list
(cons ?f (expand-file-name file))
(cons ?t tag-name)
(cons ?v tag-value))))
(apply #'call-process image-dired-cmd-write-exif-data-program nil nil nil
(mapcar (lambda (arg) (format-spec arg spec))
image-dired-cmd-write-exif-data-options))))