From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#49688: 28.0.50; Attempting to show images crashes Emacs Date: Sun, 25 Jul 2021 00:22:24 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49688@debbugs.gnu.org To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 25 01:23:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7Qz8-0006ym-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 01:23:10 +0200 Original-Received: from localhost ([::1]:39058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Qz7-0006Y7-Ba for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jul 2021 19:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Qz0-0006Xy-8N for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 19:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7Qz0-00071I-1A for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 19:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7Qyz-0001XT-Uw for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 19:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2021 23:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49688 X-GNU-PR-Package: emacs Original-Received: via spool by 49688-submit@debbugs.gnu.org id=B49688.16271689575870 (code B ref 49688); Sat, 24 Jul 2021 23:23:01 +0000 Original-Received: (at 49688) by debbugs.gnu.org; 24 Jul 2021 23:22:37 +0000 Original-Received: from localhost ([127.0.0.1]:47194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7Qyb-0001Wc-EF for submit@debbugs.gnu.org; Sat, 24 Jul 2021 19:22:37 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:59135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7QyZ-0001WP-Vy for 49688@debbugs.gnu.org; Sat, 24 Jul 2021 19:22:36 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 928482E4; Sat, 24 Jul 2021 23:22:29 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1627168949; bh=rMg/uMP7F5ypcmvHhhNaePQKWRZILGvbpz1T1bUKZhg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EBldjkba5FV2KOFgb/btQhDqxTo3jxi209Y70a6zMHVhaIdPEWWyTX25dcNtYVmfk 4PnvhBfJyb6mJWIR6Z2Ia4zrGYBVOC9kt3/7eRCPTH9Rlcw+pI0mnsm+N4XkwBjok8 ZCNKUJgNw9zJUnG5lMtvdeRuYuAfEZzfAlKAJtnOsISR9uzbu/KHmHUsLeIPaRCzoa utkzb9Qr00WSUSbQeI8S4RrZroxvMCg6xqzMl90Qq9NksJYaZZRLYyiwc7VzMtpUQy YJtWszKmrtfrNtZLnCLGfPJzREd++GaiTXUbcBRgCDGnbJIJ0xCtM5iSDRdWQHvTnM Qff3wNPot24Gg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1m7QyO-003H7l-3o; Sun, 25 Jul 2021 00:22:24 +0100 Mail-Followup-To: Alan Third , Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= , 49688@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210671 Archived-At: On Sun, Jul 25, 2021 at 12:44:59AM +0200, Rudolf Adamkovič wrote: > TL;DR The images show pixelated. > > Every modern Mac has a HiDPI (a.k.a. Retina) screen, where each point > (logical pixel) maps to 4 physical pixels, a.k.a. 2× scale. I in the > attached small screenshot, please compare the sharpness of the image with > the text next to it. Emacs renders the image at 1× and the text at 2×. Without knowing more about the image and how it's being displayed I can't say whether there's anything wrong with that. Images are, by default, displayed at 1x resolution so they will appear the same size on retina and non-retina screens. If you want to display images with pixels at a 1:1 ratio you need to scale the image by (/ 1 (frame-scale-factor)), but that will only work on Emacs 28. This is how Emacs has always worked on retina screens, this patch shouldn't change that. If it does then there's something else wrong, but I don't see any change in image display here. -- Alan Third