[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imagemagic in image-mode and image-dired-thumbnail-mode?

From: Vitalie Spinu
Subject: Re: imagemagic in image-mode and image-dired-thumbnail-mode?
Date: Wed, 17 Jul 2013 17:51:23 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

 >> Vitalie Spinu <address@hidden>
 >> on Wed, 17 Jul 2013 09:29:12 +0200 wrote:


 > To avoid this, I have create-image-prefer-type which can take
 > 'imagemagick or nil. In the future it can be extended to other
 > back-ends, if any. This variable takes effect only when create-image is
 > called with no explicit TYPE argument. Is this a right approach?

I got a better idea after seeing convert specs:

Just try which backend fits the requested conversion in turn:

   (defcustom image-transform-backends '(imagemagick convert)
     "Backends to try out in turn for image transformation.
   For `imagemagick', `image-transform' will try to use internal
   Emacs ImageMagick support. For `convert' use external ImageMagick
   \"convert\" utility to produce a transformed temporary image
   If Emacs was not compiled with ImageMagick support `imagemagic'
   backend is ignored."
     :group 'image
     :type '(repeat symbol))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]