I'm trying to figure out how to use the command line to change an image to grayscale.
here is what I tried to run from a program code
C:\Program Files\IrfanView\i_view32.exe/c:\ocr\open.gif/gray
I got an error , so then I tries this
"C:\Program Files\IrfanView\i_view32.exe"/c:\ocr\open.gif/gray
Infraview opened but the file wasn't converted to grayscale
so then I tried this
"C:\Program Files\IrfanView\i_view32.exe"/c:\ocr\open.gif/gray=c:\ocr\open2.gif
again infraview opened but nothing happened
So I decided to run the line from the start>run window and all the lines above generated an error in windows xp
Can these command lines be run from the Start>Run ?
Is there something wrong with my syntax that they will not run from my program ?
I also tried them from excel vba using the Shell command and had no luck , again I got errors ?
Please help me understand what I am doing wrong with this .
Also is it possible to change a file to grayscale without infraview opening ?
Thank you for your help.
here is what I tried to run from a program code
C:\Program Files\IrfanView\i_view32.exe/c:\ocr\open.gif/gray
I got an error , so then I tries this
"C:\Program Files\IrfanView\i_view32.exe"/c:\ocr\open.gif/gray
Infraview opened but the file wasn't converted to grayscale
so then I tried this
"C:\Program Files\IrfanView\i_view32.exe"/c:\ocr\open.gif/gray=c:\ocr\open2.gif
again infraview opened but nothing happened
So I decided to run the line from the start>run window and all the lines above generated an error in windows xp
Can these command lines be run from the Start>Run ?
Is there something wrong with my syntax that they will not run from my program ?
I also tried them from excel vba using the Shell command and had no luck , again I got errors ?
Please help me understand what I am doing wrong with this .
Also is it possible to change a file to grayscale without infraview opening ?
Thank you for your help.
Comment