• Advertisement
Sign in to follow this  

Mass File Conversion

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

If you intended to correct an error in the post then please contact us.

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 this post


Link to post
Share on other sites
Advertisement
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 list
Loop through files in dir
Open file as bmp
Convert data to TGA
Save as tga
Next


gl

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Many free programs out there can do it. Xnview for example.

Share this post


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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement