[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image transformation filter for upscaled images
From: |
Lars Ingebrigtsen |
Subject: |
Re: Image transformation filter for upscaled images |
Date: |
Tue, 09 Mar 2021 18:04:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> There's no single value that will give good results in all cases.
>> Adding a variable to control the default is all well and good, but it's
>> not sufficient.
>
> Neither a variable nor an image attribute? (I suggested both.) Then
> what would you suggest to do to resolve this?
Sorry; missed that you also mentioned an image attribute, which would
be fine.
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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Image transformation filter for upscaled images, (continued)
- Re: Image transformation filter for upscaled images, Lars Ingebrigtsen, 2021/03/08
- Re: Image transformation filter for upscaled images, Alan Third, 2021/03/08
- Re: Image transformation filter for upscaled images, Evgeny Zajcev, 2021/03/09
- Re: Image transformation filter for upscaled images, Alan Third, 2021/03/09
- Re: Image transformation filter for upscaled images, Evgeny Zajcev, 2021/03/09
- Re: Image transformation filter for upscaled images, Stefan Monnier, 2021/03/09
- Re: Image transformation filter for upscaled images, Eli Zaretskii, 2021/03/09
- Re: Image transformation filter for upscaled images, Evgeny Zajcev, 2021/03/09
- Re: Image transformation filter for upscaled images, Lars Ingebrigtsen, 2021/03/09
- Re: Image transformation filter for upscaled images, Eli Zaretskii, 2021/03/09
- Re: Image transformation filter for upscaled images,
Lars Ingebrigtsen <=
- Re: Image transformation filter for upscaled images, Eli Zaretskii, 2021/03/09
- Re: Image transformation filter for upscaled images, Yuri Khan, 2021/03/09
- Re: Image transformation filter for upscaled images, Lars Ingebrigtsen, 2021/03/10
- Re: Image transformation filter for upscaled images, Lars Ingebrigtsen, 2021/03/09
- Re: Image transformation filter for upscaled images, Dov Grobgeld, 2021/03/09
- Re: Image transformation filter for upscaled images, Alan Third, 2021/03/09
- Re: Image transformation filter for upscaled images, Alan Third, 2021/03/09
- Re: Image transformation filter for upscaled images, Basil L. Contovounesios, 2021/03/09
- Re: Image transformation filter for upscaled images, Stefan Monnier, 2021/03/09
- Re: Image transformation filter for upscaled images, Alan Third, 2021/03/10