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: Alan Third
Subject: Re: Image transformation filter for upscaled images
Date: Wed, 10 Mar 2021 21:45:52 +0000

On Wed, Mar 10, 2021 at 03:49:49PM +0100, Lars Ingebrigtsen wrote:
> 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.
> >
> > I'm not sure about the term "smoothing", but it seemed better than
> > filter or similar. I dunno.
> 
> Sounds good to me, and the patch looks good to me, too.

I've pushed it to master as c93447eac6f801d7ff97ed6dad368dc49d55cc46.

> We should probably introduce something like the defcustom I described
> elsewhere in this thread, and use it in `create-image' by default, so
> that downscaling images will still use smoothing.

I like this idea, but I felt somewhat out of my depth trying to
implement it.

-- 
Alan Third



reply via email to

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