From unknown Mon Aug 18 14:25:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10746 <10746@debbugs.gnu.org> To: bug#10746 <10746@debbugs.gnu.org> Subject: Status: ImageMagick and priority of image loaders Reply-To: bug#10746 <10746@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:25:59 +0000 retitle 10746 ImageMagick and priority of image loaders reassign 10746 emacs submitter 10746 Glenn Morris severity 10746 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 23:17:19 2012 Received: (at submit) by debbugs.gnu.org; 7 Feb 2012 04:17:19 +0000 Received: from localhost ([127.0.0.1]:57960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RucUY-0005b6-Sh for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:17:19 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:58736 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RucUW-0005az-9P for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:17:17 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RucTd-0001qg-VX; Mon, 06 Feb 2012 23:16:21 -0500 From: Glenn Morris To: submit@debbugs.gnu.org Subject: ImageMagick and priority of image loaders X-Spook: Merlin FSF terrorist Elvis pre-emptive Centro clandestine X-Ran: 8gi6Z'T@p{YT1=5t21/NW"rKvf'*}/M`aZ8Y]{|6oE7.uI@#zpe$&tGv(.kTW')xe85o<> X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM X-Debbugs-CC: Joakim Verona Date: Mon, 06 Feb 2012 23:16:21 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Package: emacs Version: 24.0.93 The Emacs Lisp manual used to say (I'm going to comment it out, for the reasons given in this report): There may be overlap between image loaders in your Emacs installation, and you may prefer to use a different one for a given image type (which loader will be used in practice depends on the priority of the loaders). For example, if you never want to use the ImageMagick loader to use JPEG files, add @code{JPG} to this list. Firstly, I don't understand what this means. What does it means for there to be multiple "image loaders" in Emacs, and how is their priority determined? (Also, do I have to add JPEG as well, since imagemagick-types returns both JPG and JPEG?) I think it might mean, eg jpeg images can be loaded via libjpeg or ImageMagick. If that is what it means, it could be clearer. If so, when I view a jpg with Emacs, how can I tell which loader was used? Maybe from looking at the mode-line in image-mode, which either says [jpeg] or [imagemagick]? It seems there's no practical way to control which loader is used: i) If you compile without jpeg but with ImageMagick, then you simply cannot view jpegs: http://debbugs.gnu.org/9045 ii) If you compile with both, then libjpeg is always used (AFAICS). This is despite imagemagick-register-types adding to the front of image-type-file-name-regexps. When you visit a jpeg file, image-type first uses image-type-from-file-header to determine the image type, and this decides it is a jpeg. So imagemagick never gets a change to open the jpeg. You can make it work by setting image-type-header-regexps to nil, but that is supposed to be a constant. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 23:44:10 2012 Received: (at 10746) by debbugs.gnu.org; 7 Feb 2012 04:44:10 +0000 Received: from localhost ([127.0.0.1]:57985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RucuX-0006Du-Pr for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:44:10 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:59956) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RucuV-0006Dm-Ea for 10746@debbugs.gnu.org; Mon, 06 Feb 2012 23:44:08 -0500 Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RuctW-0006Hn-71; Tue, 07 Feb 2012 05:43:06 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#10746: ImageMagick and priority of image loaders References: Date: Tue, 07 Feb 2012 05:42:57 +0100 In-Reply-To: (Glenn Morris's message of "Mon, 06 Feb 2012 23:16:21 -0500") Message-ID: <87mx8vz226.fsf@gnus.org> User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RuctW-0006Hn-71 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1329194586.61628@u6vleIWT40YAwFkaRijnVA X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10746 Cc: 10746@debbugs.gnu.org, Joakim Verona X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Glenn Morris writes: > ii) If you compile with both, then libjpeg is always used (AFAICS). Well, you can say so explicitly: (create-image data 'imagemagick t) -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 00:03:52 2012 Received: (at 10746) by debbugs.gnu.org; 7 Feb 2012 05:03:52 +0000 Received: from localhost ([127.0.0.1]:58004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RudDa-0006hC-7T for submit@debbugs.gnu.org; Tue, 07 Feb 2012 00:03:51 -0500 Received: from mx06.lb01.inode.at ([62.99.145.6]:8702 helo=mx.inode.at) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RudDX-0006gx-3m for 10746@debbugs.gnu.org; Tue, 07 Feb 2012 00:03:48 -0500 Received: from [85.127.18.164] (port=2756 helo=iznogoud.viz) by smartmx-06.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RudCZ-00046L-71; Tue, 07 Feb 2012 06:02:47 +0100 Received: from wolfgang by iznogoud.viz with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RudCX-0000wd-Dp; Tue, 07 Feb 2012 06:02:45 +0100 From: Wolfgang Jenkner To: Glenn Morris Subject: Re: bug#10746: ImageMagick and priority of image loaders References: Date: Tue, 07 Feb 2012 06:02:45 +0100 In-Reply-To: (Glenn Morris's message of "Mon, 06 Feb 2012 23:16:21 -0500") Message-ID: <85d39rw80a.fsf@iznogoud.viz> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10746 Cc: 10746@debbugs.gnu.org, Joakim Verona X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) See also the discussion of bug#10112. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 25 08:25:50 2019 Received: (at 10746) by debbugs.gnu.org; 25 Sep 2019 12:25:50 +0000 Received: from localhost ([127.0.0.1]:40934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD6Mf-0006SI-VS for submit@debbugs.gnu.org; Wed, 25 Sep 2019 08:25:50 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD6Me-0006S7-4q for 10746@debbugs.gnu.org; Wed, 25 Sep 2019 08:25:48 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iD6MZ-00026M-7A; Wed, 25 Sep 2019 14:25:45 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#10746: ImageMagick and priority of image loaders References: Date: Wed, 25 Sep 2019 14:25:42 +0200 In-Reply-To: (Glenn Morris's message of "Mon, 06 Feb 2012 23:16:21 -0500") Message-ID: <87k19wwojd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris writes: > The Emacs Lisp manual used to say (I'm going to comment it out, for the > reasons given in this report): > > There may be overlap between image loaders in your Emacs > installation, and you may pref [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 10746 Cc: 10746@debbugs.gnu.org, Joakim Verona X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Glenn Morris writes: > The Emacs Lisp manual used to say (I'm going to comment it out, for the > reasons given in this report): > > There may be overlap between image loaders in your Emacs > installation, and you may prefer to use a different one for a given > image type (which loader will be used in practice depends on the > priority of the loaders). For example, if you never want to use the > ImageMagick loader to use JPEG files, add @code{JPG} to this list. > > Firstly, I don't understand what this means. What does it means for > there to be multiple "image loaders" in Emacs, and how is their priority > determined? (Also, do I have to add JPEG as well, since > imagemagick-types returns both JPG and JPEG?) This doesn't seem to be in the manual any more, and the rest of the bug report doesn't seem to have any concrete bugs, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 25 08:25:54 2019 Received: (at control) by debbugs.gnu.org; 25 Sep 2019 12:25:54 +0000 Received: from localhost ([127.0.0.1]:40937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD6Mk-0006Sc-8Z for submit@debbugs.gnu.org; Wed, 25 Sep 2019 08:25:54 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iD6Mi-0006SS-B1 for control@debbugs.gnu.org; Wed, 25 Sep 2019 08:25:52 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iD6Mf-00026X-IC for control@debbugs.gnu.org; Wed, 25 Sep 2019 14:25:51 +0200 Date: Wed, 25 Sep 2019 14:25:49 +0200 Message-Id: <87impgwoj6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10746 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10746 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 10746 quit From unknown Mon Aug 18 14:25:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 Oct 2019 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator