Public Group

Mass File Conversion

This topic is 4748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Does anyone know of any program that can convert many BMP images to PNG or TGAs at once. I have about 50 BMP textures , and I just converted my game to load TGAs and PNG. Do I have to manually open all these files up in paint and resave them or is there a faster way?

Share on other sites
If you have access to photoshop (I think 4 or 5.0 and above) you can batch process some file operations. Also, you may want to write a small utility that will do this for you in case you do not have access to photoshop.

Some sudo-code

Get dir listLoop through files in dirOpen file as bmpConvert data to TGASave as tgaNext

gl

Share on other sites
30 day trial:
?????

Or you could try googling for it. What you're looking for is a batch image converter. Photoshop will do it, if you have a copy of that.

**EDIT** UnderGamer, you beat me to it.

Thx

Share on other sites
Many free programs out there can do it. Xnview for example.

Share on other sites
This came up recently. If you're still looking for a solution, I think someone mentioned "ImageMagick"

Share on other sites
I think irfanview does it.

Share on other sites
Imagemagick's "convert" tool, and a shell script, should do it.

Even on win32, you might be able to do this with a batch file (On NT, you do have foreach, right?)

Mark

• 10
• 17
• 9
• 14
• 41
• Forum Statistics

• Total Topics
631067
• Total Posts
2997734
×