From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.bugs Subject: bug#38394: Fwd: Use different image filtering when zooming in vs zooming out Date: Fri, 14 Aug 2020 08:03:04 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------3F24BCDE08032B9CE545AE65" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 To: 38394@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 14 08:04:11 2020 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 1k6Sp1-0000K1-27 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 08:04:11 +0200 Original-Received: from localhost ([::1]:47944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6Sp0-0006WQ-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 02:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6Sos-0006Vz-MY for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 02:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6Sos-0005mV-Cd for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 02:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6Sos-00086V-84 for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 02:04:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Aug 2020 06:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38394 X-GNU-PR-Package: emacs Original-Received: via spool by 38394-submit@debbugs.gnu.org id=B38394.159738499531087 (code B ref 38394); Fri, 14 Aug 2020 06:04:02 +0000 Original-Received: (at 38394) by debbugs.gnu.org; 14 Aug 2020 06:03:15 +0000 Original-Received: from localhost ([127.0.0.1]:51604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6So7-00085L-Ia for submit@debbugs.gnu.org; Fri, 14 Aug 2020 02:03:15 -0400 Original-Received: from smtp05.smtpout.orange.fr ([80.12.242.127]:18156 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6So3-000855-8a for 38394@debbugs.gnu.org; Fri, 14 Aug 2020 02:03:14 -0400 Original-Received: from [192.168.1.25] ([90.112.77.2]) by mwinf5d81 with ME id FJ342300702yqQS03J34Fq; Fri, 14 Aug 2020 08:03:04 +0200 X-ME-Helo: [192.168.1.25] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Fri, 14 Aug 2020 08:03:04 +0200 X-ME-IP: 90.112.77.2 Content-Language: en-US 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:185080 Archived-At: This is a multi-part message in MIME format. --------------3F24BCDE08032B9CE545AE65 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hello, With this patch applied (https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=519a93e067f459ceddb57573261a52118086b73d), I noticed that small icon images look bad with image defaut attributes, but look as expected when I add the attribute :scale 1 (see the attached screenshots). The issue is that by default on an HiDPI screen, images are scaled up (in my configuration the default scale is 1.2). I don't know if there is a way to force the smoothing behavior, if not, maybe an image attribute could be considered ? Thanks! --------------3F24BCDE08032B9CE545AE65 Content-Type: image/png; name="Screenshot_default-scale1.2.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screenshot_default-scale1.2.png" iVBORw0KGgoAAAANSUhEUgAAAGQAAAAkCAIAAADw2AhvAAAACXBIWXMAABXXAAAV1wEELLsZ AAADgElEQVRoQ+2YS08TURiG3zP2BzAzdAMhknJbgMFr4gw3/4CWRMolsIItXtKFmnZP1DXb 0r3UCF2rXErbBbpjQ9JOdEPUeAk7peUcF0cn7QFaTpniIPOsmnO+pOmT9/vm65BPn7/A43go 4oHH0XiyJPBkSeDJksCTJcGZkaVrqq6pyeUlAibe1QoBe5lYFE+P5szIcgM+8cCV6Joaj8cB MMaSyeTtO0GxQh5/o97b27u1tbWzswPg3v0HYsUBiPuXUm6KMQZAUZSWlpbLV66KRTXx/t1m MBgsFosAIpHI/QcPxYpyamlDAubg4KhMo64tLCwwxhRFURSlqanJKVMArl2/kUwmfT6fz+eb m5t7/uypWFGOdLIImGEYALLZLAMRrx2lUddisRgARVH8fj+Am4YpFp2Y9+82AfCIhcPhR4+f iBV/kZDF02QYhmVZAAKBQDabBVAPZY26BoBnihDi9/sNs08scpT0RioUClFKK/g6riw7UJZl BQKB0g+OR8wOFABCiK7rff0D5SV1YSO1Pjo6yn0BOKislpl1bjlWsgiYYZpWPg+gra0tk8kA sE94PzoVLl1TY7EYIQSnGyvO2urKxMQEpRRANBoV9onqsgiY2deXz+U6OjoApNNpygBAITBM E0A+l7vY2prNZJQLJ93abFNc1imMqoO8ffN6cnISAGNM2Ceq/DzbVGdnZzqdBrDPVQGUIfs3 YvlczjBNR3xxTZxCoVBy8++pNLNsU11dXZlMZp8y2xSHsj/K2trbP374YJgm3S+WFsjy7fuP mZkZAIwxxtju7u5Gal0sqidrqytTU1P828PhsLCmHt6Gf7YE07Ty+e7u7lQqtVeoZMEeao7s E8LTUNO0/oHB8pK6YA8s72noAIcnK7H4AsDs7GzPpUup9fVfe9VnB1/ELMuan58HMBIaFStk EJZSVVUHBofEIkcpjdXBTHEOl8VZXno1Njb289eeeHEEBCyRSNwdCYkXtWL3I29GAPXox7XV FQBVTaGyLDdQ6gtAQ0PD4NAtoeYk8EABqGoK7p9ZX799n56eRn2ej2/fvB4fH6eUUkojkUhl U3B/sjilL/8IIXeCw2KFPLqm9vT0bG9vR6NR/Dcv/zi6pgKIx+PDw8Pl217tyA5Zt7ehqzgz yXIDXrIk8GRJ4MmSwJMlgSdLAk+WBL5i4fD/yc3NzeLRuec3DlesI/pf9U4AAAAASUVORK5C YII= --------------3F24BCDE08032B9CE545AE65 Content-Type: image/png; name="Screenshot_scale1.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screenshot_scale1.png" iVBORw0KGgoAAAANSUhEUgAAAGQAAAAkCAIAAADw2AhvAAAACXBIWXMAABXXAAAV1wEELLsZ AAADW0lEQVRoQ+2ZO0/bUBTHz7H8AYidLCCWOIDUgNQSKHUSHhVfAKmtAIkpjEhtlaGtYGIA NR1QoSuBBQlBUpVkbssr2P0AbafEChJDH8SIreXh28FqBBcCXMdRLdW/ybr/4+Wn43Pta/z2 /Qe4VObrl8+3gq3mNXc+crkKVxYDriwGXFkMuLIYcGUx4FBZouDJZtYQCB2wg0De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