Page 1 of 1

Mogrify doesn't work on Windows

Posted: 2014-10-21T03:59:07-07:00
by oscardog
Hello

I'm really surprised but mogrify command does not work at all on Windows (8.1 / x64)
  • I have a folder containing *.JPG files.
  • I install ImageMagick-6.8.9-8-Q16-x64-dll.exe .
  • I start a command line using administrator rights, and try mogrify -resize 1920x1200 *.JPG
  • It throws an error : mogrify.exe : unable to open image *.JPG : Invalid argument @ error/blob.c/OpenBlob/2709
See the image :
Image

When I try a unique file command (like mogrify -resize 1920x1200 DSC05300.JPG ) it works perfectly, so it's not a problem of rights or anything, just a problem of recognizing the "*" or navigating through the folder...
It's a really basic problem here. I think mogrify should really be tested.

Re: Mogrify doesn't work on Windows

Posted: 2014-10-21T07:07:17-07:00
by dlemstra
Does it work if you use it in a folder with the name 'd:\test'?

Re: Mogrify doesn't work on Windows

Posted: 2014-10-24T07:06:51-07:00
by oscardog
No, same result :(

Re: Mogrify doesn't work on Windows

Posted: 2014-10-28T12:34:27-07:00
by dlemstra
I cannot reproduce your problem on my Windows machine. Can you add '-debug all' to the beginning of your command and post the output inside a 'code' block here?

Re: Mogrify doesn't work on Windows

Posted: 2015-10-20T15:05:29-07:00
by WGH
Happened to me when current dir name contained Cyrillic characters in it.

Re: Mogrify doesn't work on Windows

Posted: 2015-10-20T15:10:57-07:00
by dlemstra
With the latest version of ImageMagick?

Re: Mogrify doesn't work on Windows

Posted: 2015-10-20T16:24:23-07:00
by WGH
Heh. Actually, latest ImageMagick doesn't have this issue.