Mogrify doesn't work on Windows

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
oscardog
Posts: 2
Joined: 2014-10-21T03:52:36-07:00
Authentication code: 6789

Mogrify doesn't work on Windows

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Mogrify doesn't work on Windows

Post by dlemstra »

Does it work if you use it in a folder with the name 'd:\test'?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
oscardog
Posts: 2
Joined: 2014-10-21T03:52:36-07:00
Authentication code: 6789

Re: Mogrify doesn't work on Windows

Post by oscardog »

No, same result :(
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Mogrify doesn't work on Windows

Post 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?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
WGH
Posts: 5
Joined: 2014-01-24T12:07:00-07:00
Authentication code: 6789

Re: Mogrify doesn't work on Windows

Post by WGH »

Happened to me when current dir name contained Cyrillic characters in it.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Mogrify doesn't work on Windows

Post by dlemstra »

With the latest version of ImageMagick?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
WGH
Posts: 5
Joined: 2014-01-24T12:07:00-07:00
Authentication code: 6789

Re: Mogrify doesn't work on Windows

Post by WGH »

Heh. Actually, latest ImageMagick doesn't have this issue.
Post Reply