GNU bug report logs -
#58101
28.2; image-size nonsensical
Previous Next
Reported by: Thomas Hühn <t <at> 2uo.de>
Date: Mon, 26 Sep 2022 20:07:01 UTC
Severity: normal
Tags: notabug
Found in version 28.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> >> After some googling I found image-scaling-factor, and after setting that
>> >> to 1, I always get the expected 1291 . 632 now.
>> >
>> > So the issue happens because image-scaling-factor is different from 1?
>> > If so, this doesn't seem to be a bug, does it?
>>
>> I cannot reproduce the bug today, but the result until yesterday (as
>> written in the bug report) was wrong, even taking image-scaling-factor
>> into account (30 . 30).
>
> Well, we need a reproducible recipe to investigate, I think.
Can you try
(image-size (create-image "/tmp/two_key_system_2x.png" nil nil :scale 1.4) :pixels)
It rather sounds like `image-size' on Windows doesn't work when there's
scaling involved and then reports the size in character units instead.
This bug report was last modified 2 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.