help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: image-dired, how does it do the thumbs?


From: Bastien Guerry
Subject: Re: image-dired, how does it do the thumbs?
Date: Thu, 14 Feb 2008 17:22:13 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Andreas Davour <address@hidden> writes:

> But, since I'd like to finish my program as an exercise I'm still a bit
> curious about how image-dired actually creates the thumbnails. Is it
> using an external program to do it, or is it done in elisp? I'm not very
> good as elisp, and am still learning Common Lisp, so I couldn't figure
> it out. 
>
> Pointers to how to scale pictures in lisp would be nice, if someone
> have them.

image-dired uses convert from the ImageMagick tools suite.

>From image-dired.el :

;; PREREQUISITES
;; =============
;;
;; * The ImageMagick package.  Currently, `convert' and `mogrify' are
;; used.  Find it here: http://www.imagemagick.org.

And there is this defcustom:

,----
| (defcustom image-dired-cmd-create-thumbnail-program
|   "convert"
|   "Executable used to create thumbnail.
| Used together with `image-dired-cmd-create-thumbnail-options'."
|   :type 'string
|   :group 'image-dired)
`----

I don't know about a lisp utility doing what convert does.

-- 
Bastien




reply via email to

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