bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58101: 28.2; image-size nonsensical


From: Lars Ingebrigtsen
Subject: bug#58101: 28.2; image-size nonsensical
Date: Tue, 27 Sep 2022 14:36:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Thomas Hühn <t@2uo.de> writes:

> Yes, I couldn't reproduce my bug today at all. It occurred until
> yesterday (and several times in the weeks before that).
>
> Is 30 . 30 a special value? It seems strange that Markus Triska got
> the same value on Mac years ago.

30x30 is the default size for images that can't be displayed.  For
instance, 

(image-size (create-image "/tmp/DOES-NOT-EXIST.png" nil nil :scale 1.0) t)
=> (30 . 30)

So I think perhaps you just didn't have the image in the current
directory when you did the create-image.





reply via email to

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