[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:
http://www.imagemagick.org/script/convert.php
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
file.
If Emacs was not compiled with ImageMagick support `imagemagic'
backend is ignored."
:group 'image
:type '(repeat symbol))
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, (continued)
Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Glenn Morris, 2013/07/14
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, joakim, 2013/07/14
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/15
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Glenn Morris, 2013/07/16
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Stefan Monnier, 2013/07/16
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/17
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?,
Vitalie Spinu <=
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Lars Magne Ingebrigtsen, 2013/07/18
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/18
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Stefan Monnier, 2013/07/19
- Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/20
Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/22
Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Lars Magne Ingebrigtsen, 2013/07/22
Re: imagemagic in image-mode and image-dired-thumbnail-mode?, Vitalie Spinu, 2013/07/23
image-transform.el and image-mode.el rewrite, Vitalie Spinu, 2013/07/18
Re: image-transform.el and image-mode.el rewrite, Wolfgang Jenkner, 2013/07/19
Re: image-transform.el and image-mode.el rewrite, Wolfgang Jenkner, 2013/07/19