From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#38109: 27.0.50; xpm image scaling doesn't work Date: Thu, 07 Nov 2019 22:58:08 +0100 Message-ID: <87k18b1h8v.fsf@gmx.net> References: <87imnvfl3h.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="39527"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 38109@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 07 22:59:39 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSpoW-000A7Y-Kg for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 22:59:36 +0100 Original-Received: from localhost ([::1]:48394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSpoV-00027u-6A for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 16:59:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40337) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSpo0-000246-J2 for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 16:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSpny-00072E-3Z for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 16:59:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35235) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSpnx-00071w-RS for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 16:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSpnx-00049O-PS for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 16:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2019 21:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38109 X-GNU-PR-Package: emacs Original-Received: via spool by 38109-submit@debbugs.gnu.org id=B38109.157316389915901 (code B ref 38109); Thu, 07 Nov 2019 21:59:01 +0000 Original-Received: (at 38109) by debbugs.gnu.org; 7 Nov 2019 21:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:44056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSpnH-00048P-Hl for submit@debbugs.gnu.org; Thu, 07 Nov 2019 16:58:19 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:50313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSpnF-000487-Jl for 38109@debbugs.gnu.org; Thu, 07 Nov 2019 16:58:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1573163889; bh=d8OfxpXOP7GYEOIZ9dIyHYgzCYA47yxtDT6Fo3xGWp8=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=BUSMBosV44re+zMeBrlXhXY4P58UpBpPbddmp31BQ2NQHMUlLg+xsYhecjW8pMvfT FIw4KbKCbvwRoEpcIogo8jF3Dz00+p4sqUgHMKf71aVPfy43w6l2fm75AAK9cLLl+k Vbazmsz5+d3t2haywZJJU/azxuxlilYvGjIaV4iQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-lfs84 ([88.74.20.3]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N3bX1-1hlcn53pbv-010a3e for <38109@debbugs.gnu.org>; Thu, 07 Nov 2019 22:58:09 +0100 In-Reply-To: <87imnvfl3h.fsf@tullinup.koldfront.dk> (unknown@unknown.invalid's message of "Thu, 07 Nov 2019 22:11:14 +0100") X-Provags-ID: V03:K1:mWbgHcQw3W+KqFfDyG18xluGGox25lvdB9pUmNLRTWBcvY7OlGd GVOxvLroNYFhFdRdluiZUWYs0y54Dz7UMaq/IM5/xAWykBAT2b8oe9XAVOeQBwH2Jmu4tkn VR4cyR/6GXhgAfGx+1Zk4P/4fT2d1FzS0xj90nI5PZ03yNrIjsw0VJTBmK8xvFiaTg7ATXK D+LueOkNGm2H6z08Tm66Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:WfnwVpLMqO8=:ReYnyCnATGQnaE+b1IEdkB DEDxEBPyoJmXrlD90UCSUdRfn0Mqt7Ee2JKl6YFPvcdEitijSVSc5m9pEOSM3wzXG2eqyEDNU itxhqZ5+4U1c+PengOGN4gb9KxQSBG1NZJ2hiD4YV0i/SkSrwOIHttCpssaSwsNykJBzLlXwM oPI9r3w78sSYr09pM0RTrs6DpPCpNqwaZmsAK+MPWuRp6GdMyDsNV0XbjP3Yvkj5t68/m/UvO o/dOVTfU4Db85G9fQ2WKCvbgEZpsJsS3+lMqVrRPYsaxQcmdU8YL+pejOeMvPoJKnHP6PWqaw S5GP0Z7VOXd/CHWQnrDbAYpNOQTJQvLk+cVyOxNe6CReNIOji/TEfLO0armyrYnSrL3bbpW3n iku6uPKgubyQxB82wpL+6AbWW2PAvF+Znfwx8dIJ6U8U+D+BAICBR4idp90+GSXa2lX3NxuwD I23kTEIuGcFT9js+nMkqvaOivOU8csoZjltzq67JvX/cc63qbU1BeW4Y81Dq/4upjy5nCKQmP 53UEYAWmagb0cUmDBY4UyTBU3lxy9dupWjNc2fOmiB5sAIEMuo1+j0fMYkSxmYkL7DxnVk4Qf 3duAGHUJmmRhAYm5MiN6Ewjk6dPa9cQGyKAbTXA+rHhYPn9EeWlb2y+rTShaJmjQQ+1jkbkOY 0z0+Xqmkg/GbXsS07oeAY9FIzUWmbUA+TBW+5nov9Ydden0SxVGXOEHZenwpqN9GOIfNwAg8X lAclnP/gHKWBSoyqu16tSAVJ8iM34UgEJ9C4dp3CLQh3P6IgjtpGKrXfsUuOQ4UZcwI4GchJ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171119 Archived-At: On Thu, 07 Nov 2019 22:11:14 +0100 Unknown wrote: > I *think* scaling of xpm images used to work (maybe back when > ImageMagick did the scaling?) - but it doesn't now, e.g. if you go: > > (insert-image (create-image > "/usr/src/emacs/etc/images/smilies/medium/wry.xpm" nil nil :scale 20.0)) > > a tiny 16x16 image is inserted. The expected result was a huge 320x320 > image. [...] > Configured features: > XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY > ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB > TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD PDUMPER LCMS2 > GMP On Thu, 07 Nov 2019 22:30:57 +0100 Unknown wrote: > I just updated my Emacs build to master HEAD now (previously was built > in mid-October), and the results are consitent no scaling for XPM, GIF > and PNG now [...] Cf. NEWS: ** Emacs now supports resizing and rotating images without ImageMagick. All modern systems support this feature. (On GNU and Unix systems, Cairo drawing or the XRender extension to X11 is required for this to be available; the configure script will test for it and, if found, enable scaling.) I'm not sure about XRender; I think my X has it, but I only get scaling (also of XPM and PNG images) with the Cairo build. Steve Berman