So this is an interesting issue.
6.4.6 worked fine
6.4.7 worked fine.
The command is
"C:\Program Files\ImageMagick-6.4.8-Q16\convert.exe" *.png test.gif
This works fine to combine a bunch of png's into a gif.
001.png
002.png
003.png
004.png
005.png
but when there is a directory in there as well. Convert will crash.
like so
01/07/2009 02:17 PM 5,559 001.png
01/07/2009 02:17 PM 5,483 002.png
01/07/2009 02:17 PM 6,075 003.png
01/07/2009 02:17 PM 5,719 004.png
01/07/2009 02:17 PM 5,380 005.png
01/07/2009 03:03 PM <DIR> crashme
convert bug in 6.4.8?
Re: convert bug in 6.4.8?
Traced bug to this line, but I don't really understand it enough to fix it.
http://picasaweb.google.com/lysine/Dump ... 3425695634
http://picasaweb.google.com/lysine/Dump ... 3425695634
Re: convert bug in 6.4.8?
Alright the problem seems to be....
if (access(path,X_OK) != 0)
X_OK is defined as 1.
According to MSDN
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
It takes 0 | 2 | 4 | 6
So I set it to 4 and it worked fine for me.
if (access(path,X_OK) != 0)
X_OK is defined as 1.
According to MSDN
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
It takes 0 | 2 | 4 | 6
So I set it to 4 and it worked fine for me.
Re: convert bug in 6.4.8?
Thanks for the problem analysis. We will get a patch into the next point release of ImageMagick.