Mass File Conversion
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?
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
gl
Some sudo-code
Get dir listLoop through files in dirOpen file as bmpConvert data to TGASave as tgaNext
gl
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.
?????
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.
This came up recently. If you're still looking for a solution, I think someone mentioned "ImageMagick"
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
Even on win32, you might be able to do this with a batch file (On NT, you do have foreach, right?)
Mark
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement