Variable: image-convert-to-format

image-convert-to-format is a customizable variable defined in image-converter.el.gz.

Value

"png"

Documentation

The image format to convert to.

This should be a string like "png" or "ppm", or some other (preferably lossless) format that Emacs understands natively. The converter chosen has to support this format; if not, the conversion will fail.

This variable was added, or its default value changed, in Emacs 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-converter.el.gz
(defcustom image-convert-to-format "png"
  "The image format to convert to.
This should be a string like \"png\" or \"ppm\", or some
other (preferably lossless) format that Emacs understands
natively.  The converter chosen has to support this format; if
not, the conversion will fail."
  :group 'image
  :version "29.1"
  :type 'string)