[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52931: 27.1; image-size sometimes yields a wrong image size in pixel
From: |
Eli Zaretskii |
Subject: |
bug#52931: 27.1; image-size sometimes yields a wrong image size in pixels |
Date: |
Sat, 01 Jan 2022 19:09:10 +0200 |
> From: Markus Triska <triska@metalevel.at>
> Date: Sat, 01 Jan 2022 18:00:54 +0100
>
> Dear all,
>
> to reproduce this issue, please download the following image:
>
> https://www.metalevel.at/ei/202202.png
>
> Then start Emacs with
>
> $ emacs -Q
>
> and evaluate the following form to obtain the image's size in pixels:
>
> (let ((img (create-image "202202.png")))
> (image-size img t))
>
> In my case, this yields:
>
> (30 . 30)
I cannot reproduce this: I get (202 . 202), both in Emacs 27.1 and in
the current master version.
Maybe this is macOS-specific?