Carcerian wrote...
(and as OTR says, always do bitmaps when converting, as they are a lossless format)
Just wanted to make a small clarification on that point, I believe Carcerian is speaking about the .BMP format.
Also, one little thing about IrfanView which people should know: It will strip the alpha layer on an image when saving as TGA. As in, if you load in a 32-bit TGA (or any other 32-bit image) and then save it out to TGA, it will save it out as 24-bit. You can see this if you go to menu item Image -> Information and then look at Original Colors vs Current Colors. You can see the disparity in the bit-depth listed there.
I love IrfanView to death and use it 99% of the time to do my image viewing but sadly it falls down on that particular point. It
may also save TGA with RLE encoding. RLE encoding is basically compression. If you convert an RLE encoded TGA to
Bioware DDS, it will produce ugly artifacts in the resulting DDS. Interestingly enough, I believe that I tested it recently and NWN can display RLE (compressed) TGA's. Just converting them to DDS is a nono.
In situations where I need to preserve or work with a TGA's alpha or make sure the image is not RLE encoded (in preparation to convert to Bioware DDS), I use GIMP. The last paragraph in
this blog entry gives a crash course in working with alpha in GIMP. RLE encoding can be addressed by using "Save As..." on an image in GIMP instead of "Save". This will cause a little box to pop up on saving, asking you whether you want to use RLE compression- which you can uncheck.
Modifié par OldTimeRadio, 03 juillet 2012 - 03:16 .