Page 1 of 1
mogrify crash under XP
Posted: 2008-12-30T20:51:39-07:00
by cromagnon
Hi - I'm trying to resize a bunch (361 jpegs each at 2592 x 1944 and between 300 and 800kb) of images in a folder on my XP machine. The files are in C:\folder1, and I want to resize them in place to 1024x768, overwriting the originals. I'm issuing the command
mogrify -resize x768 *.jpg
and am instantly getting the standard Windows fatal error dialog for error reporting that begins "ImageMagick Studio library and utility programs has encountered a problem and needs to close. We are sorry for the inconvenience."
I've tried mogrify -debug all -resize x768 *.jpg
but receive no log of debug output anywhere. Any advice?
Thanks!
PS - versions are:
Version: ImageMagick 6.4.8 2008-12-27 Q8
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Microsoft Windows XP [Version 5.1.2600] (that's XP Pro with SP3)
Re: mogrify crash under XP
Posted: 2008-12-31T04:08:22-07:00
by Bonzo
Works OK for me with Command prompt and a couple of images - XP SP2 Version 6.4.0
I assume you
CD\
CD folder1
Re: mogrify crash under XP
Posted: 2008-12-31T07:21:14-07:00
by cromagnon
Thanks - yes, I was running the command having cd'd into the correct folder: even if it hadn't I would expect a file not found error rather than a crash. Is there an archive of Windows binaries for IM anywhere? I can find the legacy source code releases on sourceforge, but can't compile on this machine...
Re: mogrify crash under XP
Posted: 2008-12-31T07:25:44-07:00
by magick
We tried your command with the latest ImageMagick release, 6.4.8-3, available as
http://www.imagemagick.org/download/bin ... ws-dll.exe under Windows XP and the command completed without complaint. Not sure why its failing for you.
Re: mogrify crash under XP
Posted: 2008-12-31T07:50:22-07:00
by cromagnon
Excellent - thanks. At least I know the problem is with my computer now. Could you tell me:
a) is there an archive of Windows binaries for legacy releases?
b) where should I find the debug output for mogrify -debug all -resize x768 *.jpg? On the screen or in a default file somewhere?
Re: mogrify crash under XP
Posted: 2008-12-31T09:36:22-07:00
by el_supremo
a) is there an archive of Windows binaries for legacy releases?
Not an official site but this has a lot of legacy versions:
http://image_magick.veidrodis.com/image_magick/binaries/
b) where should I find the debug output for mogrify -debug all -resize x768 *.jpg? On the screen or in a default file somewhere?
It looks like it crashed immediately so there won't be any debugging output.
I suspect that your command line is too long because the *.jpg will be expanded into well over 4000 characters.
Try quoting the output filename like this:
This lets mogrify expand the wildcard internally so that the command line limit won't be exceeded.
Pete
Re: mogrify crash under XP
Posted: 2008-12-31T15:22:11-07:00
by cromagnon
Pete - thank you! I have no problems running your modified command with the quoted wildcard in anything other than the latest version. You've saved me an enormous amount of time!
PS: Should I pass this over to the bug forum?
Re: mogrify crash under XP
Posted: 2008-12-31T16:21:42-07:00
by el_supremo
If the command behaves correctly in any version except the most current one then you should post it to the bugs forum along with whatever error message(s) you get.
Pete