Wierd convert bug in Windows?
Posted: 2009-07-10T02:57:10-07:00
Hello,
In Windows cmd convert seems to fail if BOTH of these are true:
If the specified output file exists, it's replaced by the new version no problem, but if it doesn't exist it won't be created unless there are no other subdirectories present...
Why on earth does convert look in AnotherFolder, when it was given the name of the file it should create?
Am I missing something, or is this a weird bug in IM convert?
BB.
Windows XP SP3, IM installled from ImageMagick-6.5.4-2-Q16-windows-dll.exe
In Windows cmd convert seems to fail if BOTH of these are true:
- - the output file doesn't already exist
- there is a subdirectory in the working directory
- H:\IMstuff>convert AI1957[1].gif AI1957[1].png
H:\IMstuff>convert AI1957[1].gif AI1957[1].png
H:\IMstuff>mkdir AnotherFolder
H:\IMstuff>convert AI1957[1].gif AI1957[1].png
H:\IMstuff>rmdir AnotherFolder
H:\IMstuff>convert AI1957[1].gif AI1957[1].png
H:\IMstuff>del AI1957[1].png
H:\IMstuff>convert AI1957[1].gif AI1957[1].png
H:\IMstuff>del AI1957[1].png
H:\IMstuff>mkdir AnotherFolder
H:\IMstuff>convert AI1957[1].gif AI1957[1].png
convert: unable to open image `AnotherFolder\': Invalid argument @ blob.c/OpenBlob/2476.
H:\IMstuff>
If the specified output file exists, it's replaced by the new version no problem, but if it doesn't exist it won't be created unless there are no other subdirectories present...
Why on earth does convert look in AnotherFolder, when it was given the name of the file it should create?
Am I missing something, or is this a weird bug in IM convert?
BB.
Windows XP SP3, IM installled from ImageMagick-6.5.4-2-Q16-windows-dll.exe