"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

IrfanView

Convert Images on the Command Line

SUMMARY: Use IrfanView to convert images from one format to another on the Windows XP command line or in a batch file.


 

Need to convert images between one file format to another in a Windows XP batch file? Instead of downloading other utility software, you can simply use IrfanView.

1. First, create a batch file to run IrfanView.

2. Enter a DOS command in the following format:

irfanview SOURCE_FILE /convert=DESTINATION_FILE

SOURCE_FILE: The path to the image you wish to convert

DESTTINATION_FILE: The path to the converted image. Choose one of the file formats supported by IrfanView.

For example, the following DOS command (after creating the IrfanView batch file would convert image "football.jpg" to a PNG format with file "football.png":

irfanview football.jpg /convert=football.png

This tip was written for an older version of Irfanview, and instructions for the latest version may differ.




Print This Tip

Get E-Mail When New Tips are Online

Return to the IrfanView page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )