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: Lars Ingebrigtsen
Subject: Re: Image transformation filter for upscaled images
Date: Mon, 08 Mar 2021 22:31:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

> I don't know, I'd be inclined to go with adding an image option, like
> ":filter smooth" or ":filter nearest" and letting mode authors choose
> what they think is best.

Yes, that's an excellent idea.

> Although I can see that that won't help with the likes of eww where
> you just don't know what type of image you're loading.

Well, it'd be up to the application to add heuristics (if any).

> (Also, I think :filter may be taken, so perhaps just ":smooth t/nil"
> or something...)

Sure.  Or...  :scaling-algorithm...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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