Page 1 of 1

Convert Image To Different Folder

Posted: 2018-03-24T05:38:32-07:00
by Gary68
Hi,

This seems like a dumb question, but:

How do you convert an image to a sub folder?

I tried the following (and variations) in windows command prompt:

Code: Select all

convert test.png output/new.jpg
The sub folder output exists, but I keep getting the following error:
convert.exe: unable to open image `output/new.jpg': No such file or directory @ error/blob.c/OpenBlob/2761.
Thanks

Re: Convert Image To Different Folder

Posted: 2018-03-24T05:56:41-07:00
by snibgo
In Windows, we normally use a back-slash, not forward slash, as directory delimiter. But your command should work fine, provided "test.png" and the subdirectory "output" both exist.

Do a "dir" in the current directory to double-check they do exist.

Re: Convert Image To Different Folder

Posted: 2018-03-24T06:12:34-07:00
by Gary68
Do a "dir" in the current directory to double-check they do exist.
Thanks solved, it was down to a typo. I guess it was a dumb question after all :oops: