Variable: image-transform-smoothing

image-transform-smoothing is a customizable variable defined in image.el.gz.

Value

image--default-smoothing

Documentation

Whether to do smoothing when applying transforms to images.

Common transforms are rescaling and rotation.

Valid values are nil (no smoothing), t (smoothing) or a predicate function that is called with the image specification and should return either nil or non-nil.

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

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/image.el.gz
(defcustom image-transform-smoothing #'image--default-smoothing
  "Whether to do smoothing when applying transforms to images.
Common transforms are rescaling and rotation.

Valid values are nil (no smoothing), t (smoothing) or a predicate
function that is called with the image specification and should return
either nil or non-nil."
  :type '(choice (const :tag "Do smoothing" t)
                 (const :tag "No smoothing" nil)
                 function)
  :version "28.1")