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

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

Re: image-dired shows images as text


From: Allan
Subject: Re: image-dired shows images as text
Date: Sat, 29 Dec 2007 20:46:47 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt)

Nick Roberts <nickrob@snap.net.nz> writes:

>  > I will try to apply the patch, but in the meantime I may have discovered
>  > some pertinent information. On Windows XP there is a DOS-style command
>  > called "convert" which can be accessed inside a command-prompt window. I
>  > wonder if there could be a conflict or confusion with this module?
>
> No nned to apply the patch as you have found the problem.  It looks like
> c:/WINDOWS/SYSTEM32/convert.exe is an NTFS partitioning program on XP only.
>
>  >   c:/WINDOWS/SYSTEM32:
>  >   total used in directory 495476 available 13243296
>  >   -rw-rw-rw-   1 XXXXXXX   root           333 2001-09-12  $ncsp$.inf
>  >   -rw-rw-rw-   1 XXXXXXX   root           860 2002-01-27  $winnt$.inf
>  >   drwxrwxrwx   1 XXXXXXX   root             0 12-28 07:32 .
>  >   drwxrwxrwx   1 XXXXXXX   root             0 12-28 14:25 ..
>  > ....
>  >   -rwxrwxrwx   1 XXXXXXX   root         13824 2001-08-18  convert.exe 
>  > ....
>
>  > The way I found this out was that I tried the ImageMagick test in a command
>  > window : "convert logo: logo.gif" and got an error instead. When I 
> navigated
>  > to the ImageMagick install directory using a DOS-style "cd" command it
>  > worked. If you append the ImageMagick directory to the end of the "PATH"
>  > environment variable the MS Windows "convert.exe" will be found first.
>
> Unfortunately Emacs won't know where your convert program in ImageMagick
> resides but you can get round it without changing PATH by customising
> thumbs-conversion-program (and image-dired-cmd-create-thumbnail-program) to be
> the absolute filename.
>
> -- 
> Nick                                           http://www.inet.net.nz/~nickrob
The very good news is that I have got it to work by changing "path" to have 
ImageMagick as the first member of the list and by changing the values you 
mention to the default "convert" or "convert.exe". I finally have the 
thumbnails displaying in a seperate window (!) The only function that I don't 
understand is "image-dired-dired-display-external" - display in external 
viewer, which does not seem to do anything when I select a thumbnail before 
invoking it. I think that this workaround/solution might have helped the OP 
possibly as well if he is still reading this thread. The other advantage of 
changing "PATH" is that in a command prompt window the ImageMagick command line 
"convert" program works as it should.
Thanks again,

-- 
Allan


reply via email to

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