Problem with Convert saying files do not exist
Posted: 2007-06-29T08:30:02-07:00
Hi all
I am having problems using Convert from within a windows script. All object instantiations work fine, but there seems to be a problem with Convert. This also happens when trying Convert from the command line.
For instance, the command line
"Convert c:\data\dev\image.eps c:\data\dev\image.jpg"
gives the following error messages:
"convert: unable to open 'c:\data\dev\image.eps' : no such file or directory
convert: missing an image filename 'c:\data\dev\image.jpg'."
I get the same error calling from within the script or directly as above. The files and directories exist.
When called from within the script (JavaScript), the error codes returned (with the same messages as above) are:
code 435 no such file or directory
code 410 missing an image filename
Any suggestions gratefully received.
Regards
Stephen
I am having problems using Convert from within a windows script. All object instantiations work fine, but there seems to be a problem with Convert. This also happens when trying Convert from the command line.
For instance, the command line
"Convert c:\data\dev\image.eps c:\data\dev\image.jpg"
gives the following error messages:
"convert: unable to open 'c:\data\dev\image.eps' : no such file or directory
convert: missing an image filename 'c:\data\dev\image.jpg'."
I get the same error calling from within the script or directly as above. The files and directories exist.
When called from within the script (JavaScript), the error codes returned (with the same messages as above) are:
code 435 no such file or directory
code 410 missing an image filename
Any suggestions gratefully received.
Regards
Stephen