I am continually amazed by the power of “swiss army knife” command line tools which do lots of functions. Among the best I have found is Nirsoft’s NirCmd.
I had a request the other day to convert a large amount of images (approximately 1,000) to PNG format. These images were collections from different sources and were in a mixture of GIF, JPG and PNG format. So rather than manually approaching this, I found the commands I needed in NirCmd:
convertimage [source filename] [destionation filename]
Convert image file from one format from another. The following file formats are supported: .bmp, .gif, .png, .jpg, .tiff [...]Examples:
convertimage “c:\temp\test1.gif” “c:\temp\test1.png”
convertimage “c:\temp\test1.jpg” “c:\temp\test1.gif”———-
convertimages [source wildcard] [extension]
Convert multiple image files from one format from another. The following file formats are supported: .bmp, .gif, .png, .jpg, .tiff [...]Examples:
convertimages “c:\temp\a*.gif” .png
convertimages “c:\temp\*.jpg” .gif
For my problem, I was simply able to run two commands:
NirCmd convertimages “C:\images\*.gif” .png
NirCmd convertimages “C:\images\*.jpg” .png
It doesn’t get any easier than this.

Like what you read?
If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:


