unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Image-Dired thumbs issue
@ 2008-06-04 13:48 Corey Foote
  2008-06-04 13:55 ` Juanma Barranquero
  0 siblings, 1 reply; 10+ messages in thread
From: Corey Foote @ 2008-06-04 13:48 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]


Hi everybody,





I'm having some trouble getting Image-Dired to run. I
installed ImageMagick and put the program folder in my path environment variable.
I'm able to invoke both convert and mogrify from the command line, but when I
try to run Image-Dired by by typing M-x
image-dired I get a message saying, "Thumb could not be created for file..."
Any suggestions? 

I'm running GNU GNU
Emacs 22.1.50.1 under Windows XP. - Corey Foote
_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008

[-- Attachment #2: Type: text/html, Size: 1086 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Image-Dired thumbs issue
  2008-06-04 13:48 Image-Dired thumbs issue Corey Foote
@ 2008-06-04 13:55 ` Juanma Barranquero
  2008-06-05 16:27   ` Corey Foote
  0 siblings, 1 reply; 10+ messages in thread
From: Juanma Barranquero @ 2008-06-04 13:55 UTC (permalink / raw)
  To: Corey Foote; +Cc: help-gnu-emacs

> I'm having some trouble getting Image-Dired to run. I installed ImageMagick
> and put the program folder in my path environment variable. I'm able to
> invoke both convert and mogrify from the command line, but when I try to run
> Image-Dired by by typing M-x image-dired I get a message saying, "Thumb
> could not be created for file..." Any suggestions?

Did you try setting the several image-dired-*-program variables to the
paths of your ImageMagick executables?

Note that, on Windows XP, the convert.exe that first appears in the
PATH is often a system utility to convert FAT partitions to NTFS.

   Juanma




^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Image-Dired thumbs issue
  2008-06-04 13:55 ` Juanma Barranquero
@ 2008-06-05 16:27   ` Corey Foote
  2008-06-05 16:34     ` Corey Foote
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Corey Foote @ 2008-06-05 16:27 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]


No luck. I set them and it still doesn't work. :-(

(setq image-dired-cmd-create-temp-image-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-create-thumbnail-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-pngcrush-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-pngnq-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-rotate-original-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-rotate-thumbnail-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
(setq image-dired-cmd-write-exif-data-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")


> Date: Wed, 4 Jun 2008 15:55:06 +0200
> From: lekktu@gmail.com
> To: coreyfoote@hotmail.com
> Subject: Re: Image-Dired thumbs issue
> CC: help-gnu-emacs@gnu.org
> 
> > I'm having some trouble getting Image-Dired to run. I installed ImageMagick
> > and put the program folder in my path environment variable. I'm able to
> > invoke both convert and mogrify from the command line, but when I try to run
> > Image-Dired by by typing M-x image-dired I get a message saying, "Thumb
> > could not be created for file..." Any suggestions?
> 
> Did you try setting the several image-dired-*-program variables to the
> paths of your ImageMagick executables?
> 
> Note that, on Windows XP, the convert.exe that first appears in the
> PATH is often a system utility to convert FAT partitions to NTFS.
> 
>    Juanma

_________________________________________________________________
Search that pays you back! Introducing Live Search cashback.
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback

[-- Attachment #2: Type: text/html, Size: 2095 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Image-Dired thumbs issue
  2008-06-05 16:27   ` Corey Foote
@ 2008-06-05 16:34     ` Corey Foote
       [not found]     ` <mailman.12704.1212685980.18990.help-gnu-emacs@gnu.org>
  2008-06-06 13:46     ` Juanma Barranquero
  2 siblings, 0 replies; 10+ messages in thread
From: Corey Foote @ 2008-06-05 16:34 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]


Are there any Windows users out there who wouldn't mind posting the relevant portion of their .emacs files to the list so I can see how this is done? Thanks!

- Corey

________________________________
> From: coreyfoote@hotmail.com
> To: lekktu@gmail.com
> Date: Thu, 5 Jun 2008 12:27:32 -0400
> CC: help-gnu-emacs@gnu.org
> Subject: RE: Image-Dired thumbs issue
> 
> No luck. I set them and it still doesn't work. :-(
> 
> (setq image-dired-cmd-create-temp-image-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-create-thumbnail-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-pngcrush-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-pngnq-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-rotate-original-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-rotate-thumbnail-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-write-exif-data-program "c:/Program Files/ImageMagick-6.4.1-Q16/convert.exe")
> 
> 
>> Date: Wed, 4 Jun 2008 15:55:06 +0200
>> From: lekktu@gmail.com
>> To: coreyfoote@hotmail.com
>> Subject: Re: Image-Dired thumbs issue
>> CC: help-gnu-emacs@gnu.org
>>
>>> I'm having some trouble getting Image-Dired to run. I installed ImageMagick
>>> and put the program folder in my path environment variable. I'm able to
>>> invoke both convert and mogrify from the command line, but when I try to run
>>> Image-Dired by by typing M-x image-dired I get a message saying, "Thumb
>>> could not be created for file..." Any suggestions?
>>
>> Did you try setting the several image-dired-*-program variables to the
>> paths of your ImageMagick executables?
>>
>> Note that, on Windows XP, the convert.exe that first appears in the
>> PATH is often a system utility to convert FAT partitions to NTFS.
>>
>> Juanma
> 
> ________________________________
> Search that pays you back! Introducing Live Search cashback. Search Now!

_________________________________________________________________
Now you can invite friends from Facebook and other groups to join you on Windows Live™ Messenger. Add now.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now

[-- Attachment #2: Type: text/html, Size: 2592 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Image-Dired thumbs issue
       [not found]       ` <uskvra3qd.fsf@earthlink.net>
@ 2008-06-06  3:44         ` Kevin Rodgers
  2008-06-06 12:15           ` Corey Foote
  2008-06-06 12:19         ` Corey Foote
       [not found]         ` <mailman.12728.1212723882.18990.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 10+ messages in thread
From: Kevin Rodgers @ 2008-06-06  3:44 UTC (permalink / raw)
  To: help-gnu-emacs

Allan wrote:
> The workaround, which is basically unsatisfactory, is to place the
> ImageMagick binaries folder/directory as the first item in the `PATH'
> environment variable. The problem is that if you do this you cannot use the
> Windows XP "convert" built-in command. You might be able to get around
> this with commands such as "set path=%path%;<my folder>" but it will
> only work within a command window temporarily.
> In my case once I tried the workaround I changed it back to the
> default `PATH' environment variable setting. 

Why not try leaving your PATH environment variable as is, and adding the
ImageMagick bin directory to the front of the Emacs exec-path variable?

-- 
Kevin Rodgers
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Image-Dired thumbs issue
  2008-06-06  3:44         ` Kevin Rodgers
@ 2008-06-06 12:15           ` Corey Foote
  2008-06-06 13:37             ` Juanma Barranquero
  0 siblings, 1 reply; 10+ messages in thread
From: Corey Foote @ 2008-06-06 12:15 UTC (permalink / raw)
  To: Kevin Rodgers, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]


Kevin,

For all the newbies out there (like myself) how would one do that?

Thanks!

- Corey

> To: help-gnu-emacs@gnu.org
> From: kevin.d.rodgers@gmail.com
> Date: Thu, 5 Jun 2008 21:44:20 -0600
> Subject: Re: Image-Dired thumbs issue
> 
> Allan wrote:
> > The workaround, which is basically unsatisfactory, is to place the
> > ImageMagick binaries folder/directory as the first item in the `PATH'
> > environment variable. The problem is that if you do this you cannot use the
> > Windows XP "convert" built-in command. You might be able to get around
> > this with commands such as "set path=%path%;<my folder>" but it will
> > only work within a command window temporarily.
> > In my case once I tried the workaround I changed it back to the
> > default `PATH' environment variable setting. 
> 
> Why not try leaving your PATH environment variable as is, and adding the
> ImageMagick bin directory to the front of the Emacs exec-path variable?
> 
> -- 
> Kevin Rodgers
> Denver, Colorado, USA
> 
> 
> 

_________________________________________________________________
Instantly invite friends from Facebook and other social networks to join you on Windows Live™ Messenger.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends

[-- Attachment #2: Type: text/html, Size: 1630 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Image-Dired thumbs issue
       [not found]       ` <uskvra3qd.fsf@earthlink.net>
  2008-06-06  3:44         ` Kevin Rodgers
@ 2008-06-06 12:19         ` Corey Foote
       [not found]         ` <mailman.12728.1212723882.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 10+ messages in thread
From: Corey Foote @ 2008-06-06 12:19 UTC (permalink / raw)
  To: noreply, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]


Here's another possible solution. Write a program and put it in your path that will:

if (the calling program is emacs) {
   run image magick
}
else {
   run the windows convert command
}

Just a thought.

> From: mu8ja0i@earthlink.net
> Date: Thu, 5 Jun 2008 17:58:34 -0500
> To: help-gnu-emacs@gnu.org
> Subject: Re: Image-Dired thumbs issue
> 
> Corey Foote <coreyfoote@hotmail.com> writes:
> 
> > <style>
> > .hmmessage P
> > {
> > margin:0px;
> > padding:0px
> > }
> > body.hmmessage
> > {
> > FONT-SIZE: 10pt;
> > FONT-FAMILY:Tahoma
> > }
> > </style>
> >
> >
> > Are there any Windows users out there who wouldn't mind posting the
> > relevant portion of their .emacs files to the list so I can see how
> > this is done? Thanks!
> The workaround, which is basically unsatisfactory, is to place the
> ImageMagick binaries folder/directory as the first item in the `PATH'
> environment variable. The problem is that if you do this you cannot use the
> Windows XP "convert" built-in command. You might be able to get around
> this with commands such as "set path=%path%;<my folder>" but it will
> only work within a command window temporarily.
> In my case once I tried the workaround I changed it back to the
> default `PATH' environment variable setting. 
> 
> -- 
> Allan

_________________________________________________________________
Search that pays you back! Introducing Live Search cashback.
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback

[-- Attachment #2: Type: text/html, Size: 2003 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Image-Dired thumbs issue
  2008-06-06 12:15           ` Corey Foote
@ 2008-06-06 13:37             ` Juanma Barranquero
  0 siblings, 0 replies; 10+ messages in thread
From: Juanma Barranquero @ 2008-06-06 13:37 UTC (permalink / raw)
  To: Corey Foote; +Cc: help-gnu-emacs, Kevin Rodgers

> For all the newbies out there (like myself) how would one do that?

You can add this to your .emacs:

(add-to-list 'exec-path "C:/my/imagemagick/path")

for example.

  Juanma




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Image-Dired thumbs issue
  2008-06-05 16:27   ` Corey Foote
  2008-06-05 16:34     ` Corey Foote
       [not found]     ` <mailman.12704.1212685980.18990.help-gnu-emacs@gnu.org>
@ 2008-06-06 13:46     ` Juanma Barranquero
  2 siblings, 0 replies; 10+ messages in thread
From: Juanma Barranquero @ 2008-06-06 13:46 UTC (permalink / raw)
  To: Corey Foote; +Cc: help-gnu-emacs

> No luck. I set them and it still doesn't work. :-(
>
> (setq image-dired-cmd-create-temp-image-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-create-thumbnail-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-pngcrush-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-pngnq-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-rotate-original-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-rotate-thumbnail-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")
> (setq image-dired-cmd-write-exif-data-program "c:/Program
> Files/ImageMagick-6.4.1-Q16/convert.exe")

Hm, I don't think all those programs should be convert.exe; take a
look at the start of image-dired.el.

Anyway, what exactly is the error you're seeing?

  Juanma




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Image-Dired thumbs issue
       [not found]         ` <mailman.12728.1212723882.18990.help-gnu-emacs@gnu.org>
@ 2008-06-27  1:03           ` David Combs
  0 siblings, 0 replies; 10+ messages in thread
From: David Combs @ 2008-06-27  1:03 UTC (permalink / raw)
  To: help-gnu-emacs

In article <mailman.12728.1212723882.18990.help-gnu-emacs@gnu.org>,
Kevin Rodgers  <kevin.d.rodgers@gmail.com> wrote:
>Allan wrote:
>> The workaround, which is basically unsatisfactory, is to place the
>> ImageMagick binaries folder/directory as the first item in the `PATH'
>> environment variable. The problem is that if you do this you cannot use the
>> Windows XP "convert" built-in command. You might be able to get around
>> this with commands such as "set path=%path%;<my folder>" but it will
>> only work within a command window temporarily.
>> In my case once I tried the workaround I changed it back to the
>> default `PATH' environment variable setting. 
>
>Why not try leaving your PATH environment variable as is, and adding the
>ImageMagick bin directory to the front of the Emacs exec-path variable?
>
>-- 
>Kevin Rodgers
>Denver, Colorado, USA
>
>
>

Please, could you say a few words about when to hack PATH vs exec-path?

(Is this true:

"PATH" controls the entire computer -- everyone looks at it,

whereas exec-path is seen only by emacs?)

That, plus some discussion of when to do each one?

Thanks!,

David




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-06-27  1:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04 13:48 Image-Dired thumbs issue Corey Foote
2008-06-04 13:55 ` Juanma Barranquero
2008-06-05 16:27   ` Corey Foote
2008-06-05 16:34     ` Corey Foote
     [not found]     ` <mailman.12704.1212685980.18990.help-gnu-emacs@gnu.org>
     [not found]       ` <uskvra3qd.fsf@earthlink.net>
2008-06-06  3:44         ` Kevin Rodgers
2008-06-06 12:15           ` Corey Foote
2008-06-06 13:37             ` Juanma Barranquero
2008-06-06 12:19         ` Corey Foote
     [not found]         ` <mailman.12728.1212723882.18990.help-gnu-emacs@gnu.org>
2008-06-27  1:03           ` David Combs
2008-06-06 13:46     ` Juanma Barranquero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).