]> git.eshelyaron.com Git - emacs.git/commit
Enable selectable image smoothing (bug#38394)
authorAlan Third <alan@idiocy.org>
Tue, 9 Mar 2021 18:05:10 +0000 (18:05 +0000)
committerAlan Third <alan@idiocy.org>
Wed, 10 Mar 2021 21:40:42 +0000 (21:40 +0000)
commitc93447eac6f801d7ff97ed6dad368dc49d55cc46
tree4643e59abe2e6ca836250f65b9dd5dcc75058f8e
parentd07ed6dfee9338b0d715f8181703252c99e5133a
Enable selectable image smoothing (bug#38394)

* lisp/doc-view.el (doc-view-insert-image): Always use smoothing in
docview.
* lisp/image-mode.el (image-transform-smoothing): New variable.
(image-mode-map): Add smoothing binding.
(image-transform-properties): Apply smoothing when requested.
(image-transform-set-smoothing): New function.
(image-transform-reset): Reset smoothing.
* src/image.c (image_set_transform): Use new :transform-smoothing
attribute.
(syms_of_image): Add :transform-smoothing attribute.
* doc/lispref/display.texi (Image Descriptors): Document new
:transform-smoothing property.
doc/lispref/display.texi
etc/NEWS
lisp/doc-view.el
lisp/image-mode.el
src/image.c