[Top][All Lists]

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

Re: Images :scale and :width/:height relation

From: Alan Third
Subject: Re: Images :scale and :width/:height relation
Date: Sun, 3 Sep 2023 17:40:43 +0100

On Sun, Sep 03, 2023 at 03:37:11PM +0200, Manuel Giraud wrote:
> > IIRC the likes of eww will actively load an image and then get the
> > size and set the scale accordingly. Perhaps that sort of behaviour
> > should be made available generally.
> I should have a look their then.  But Emacs does not have a way of
> asking "what are the dimensions of this image" without loading it into
> its cache?

No, afaik the only way to get an image's native dimensions is to load
it with no scale or width/height and then check the resulting image.
Alan Third

reply via email to

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