From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: imagemagick support on W32 Date: Fri, 01 Oct 2010 14:38:19 +0200 Message-ID: References: <4CA53CE5.1020702@gmail.com> <4CA54727.6010900@gmail.com> <4CA54834.4020106@gmail.com> <4CA54E67.5040703@gmail.com> <4CA560A0.50901@gmail.com> <4CA5D033.5010503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285938619 30046 80.91.229.12 (1 Oct 2010 13:10:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 13:10:19 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: Christoph Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 15:10:16 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1fNL-0005bC-Iq for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 15:10:11 +0200 Original-Received: from localhost ([127.0.0.1]:41731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1fNL-0007vS-0N for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 09:10:11 -0400 Original-Received: from [140.186.70.92] (port=40362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1f7O-0002Tw-F0 for emacs-devel@gnu.org; Fri, 01 Oct 2010 08:53:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1esZ-0004yT-N3 for emacs-devel@gnu.org; Fri, 01 Oct 2010 08:40:38 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:60531 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1esZ-0004xi-DV for emacs-devel@gnu.org; Fri, 01 Oct 2010 08:38:23 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o91CcJae029797; Fri, 1 Oct 2010 14:38:19 +0200 In-Reply-To: <4CA5D033.5010503@gmail.com> (Christoph's message of "Fri, 01 Oct 2010 06:12:35 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131156 Archived-At: Christoph writes: > On 10/1/2010 5:36 AM, joakim@verona.se wrote: > >> I'm not sure what the original question was, but I intended for >> ImageMagick support to live alongside the other image loaders. > > OK. > >> ImageMagick support does not deactivate the other loaders. They all live >> together. Of course there will then be situations when its not clear >> which loader should be used, because there are several candidates >> available. The ImageMagick loader can be configured so it does not try >> to load particular image formats, with imagemagick-types-inhibit. Which >> particular loader gets used in a particular case is not completely >> obvious however. I've made no attempt to change loader priorities, and >> Imagemagick usualy gets last shot at loading a format, so when jpeg >> support is compiled in, and imagemagick support is compiled in, the jpeg >> loader wins by default. > > What if jpeg support is compiled in, but the library is unavailable > (dll missing). Does it also go on to ImageMagick (if their dll is > availble instead)? Im not really sure, but from reading image.c it seems that on non w32 plattforms the library stubs are just compiled in and called directly, which means not having the library there would be runtime linkage error. On w32 something different seems to happen, but no real effort seems to be done to avoid errors if the desired library isnt there. I might be wrong. -- Joakim Verona