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: Eli Zaretskii
Subject: Re: Image transformation filter for upscaled images
Date: Tue, 09 Mar 2021 20:01:50 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: alan@idiocy.org,  lg.zevlg@gmail.com,  stefankangas@gmail.com,
>   emacs-devel@gnu.org
> Date: Tue, 09 Mar 2021 18:04:59 +0100
> 
> Thinking a bit more about this, I wonder whether a general solution is
> kinda-sorta possible anyway.  That is, having a function that returns
> what algorithm to use.  We normally want shrinking the image to always
> use `best', and enlarging an image slightly to use `good' or `best'
> (that's the issue with doc-view, I think? we're rendering at one size
> and then enlarging it on HiDPI screens?  I haven't actually debugged
> it), and enlarging more than (say) 3x in size to use nearest
> neighbour...
> 
> Having a variable (that can be a function that returns the algo to
> use, or be one of the symbols) would allow us to experiment with this
> more easily and see whether we can come up with something that works for
> most people out of the box.

If we can DTRT in most cases by default, we should, of course.  I was
under the impression that the "best" choice depended on what people
did with images most of the time and on personal preferences.



reply via email to

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