Make a droplet to convert color to grey as a BAT file
Posted: Thu Apr 01, 2004 7:19 pm
I successfully use the command line within a Windows DOS prompt to convert a color JPG to a greyscale JPG:
nconvert -quiet -o output.jpg -grey 256 -out jpeg input.jpg
Can anyone assist with how I would make a BAT file to do this? I hope to be able to drag the icon of a color JPG (located anywhere on the computer) onto the BAT icon to convert it into a greyscale JPG. The output would have a new filename like 'converted-oldfilename.jpg' and it would be saved in the same location as the source image.
Is this possible with a BAT file?
nconvert -quiet -o output.jpg -grey 256 -out jpeg input.jpg
Can anyone assist with how I would make a BAT file to do this? I hope to be able to drag the icon of a color JPG (located anywhere on the computer) onto the BAT icon to convert it into a greyscale JPG. The output would have a new filename like 'converted-oldfilename.jpg' and it would be saved in the same location as the source image.
Is this possible with a BAT file?