emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image transformation filter for upscaled images


From: Basil L. Contovounesios
Subject: Re: Image transformation filter for upscaled images
Date: Tue, 09 Mar 2021 22:31:29 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

> Attached is a patch that should allow us to set smoothing using
> ":transform-smoothing t", or nil to disable it and use nearest
> neighbour. Also sm in image mode lets you set it directly, and
> doc-view will always use it.

Thanks, just one nit/question from me:

> +(defun image-transform-set-smoothing (smoothing)
> +  (interactive (list (completing-read "Smoothing: "
> +                                      '(none smooth) nil t)))

I know that completing-read can handle a list of symbols, but its
documentation says only list of strings.  Who's right?  Do we care?

-- 
Basil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]