I am trying to use this command for ImageMagick:
convert "c:\users\****\My Documents\test.png" -transparent white test2.png
However, I keep on getting two errors that look like this:
convert.exe: unable to open image `c:\users\****\My':
No such file or directory @ error/blob.c/OpenBlob/2641.
convert.exe: no decode delegate for this image format `c:\users\****\My'
@ error/constitute.c/ReadImage/550.
I installed ImageMagick to my c:\
directory.
What does this mean, and how can I fix it?
C:\Users\****\My Documents
, from there run asC:\Convert.exe test.png -transparent white test2.png
and see if it works.cd C:\Users\****\My Documents
Then I ran:c:\convert.exe test.png -transparent white test2.png
But I got this error:'c:\convert.exe' is not recognized as an internal or external command, operable program or batch file.
So I tried:'c:\ImageMagick-6.8.1-Q16\convert.exe pin.png -transparent white test2.png'
Then I got: convert.exe: Improper image headerpin.png' @ error/png.c/ReadPNGImage/3699. convert.exe: no images defined
test2.png' @ error/convert.c/ConvertImageCommand /3066.'c:\convert.exe' is not recognized as an internal or external command, operable program or batch file.
- Well that's because Convert.exe is not in C:\ but inC:\ImageMagick-6.8.1-Q16
(you need to specify the proper path obviously). As for the "Improper image header" error, you seem to have an image that convert.exe cannot read for some reason (corrupted, perhaps?)