Function: pdf-info-metadata

pdf-info-metadata is a natively compiled function defined in pdf-info.el.

Signature

(pdf-info-metadata &optional FILE-OR-BUFFER)

Documentation

Extract the metadata from the document FILE-OR-BUFFER.

This returns an alist containing some information about the document.

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-info.el
(defun pdf-info-metadata (&optional file-or-buffer)
  "Extract the metadata from the document FILE-OR-BUFFER.

This returns an alist containing some information about the
document."
  (pdf-info-query
   'metadata
   (pdf-info--normalize-file-or-buffer file-or-buffer)))