Now saving RGBA TGAs instead of Grayscale+Alpha because the Windows version of SL doesn't like those.

This commit is contained in:
Ochi Wolfe 2013-08-26 12:19:04 +02:00
parent 8525b1dee8
commit 3327051521
2 changed files with 5 additions and 6 deletions

View file

@ -15,7 +15,7 @@ def writeTGA(width, height, bitsPerColor, bitsPerPixel, data, path):
header = struct.pack(FORMAT,
0, # Offset
0, # ColorType
3, # ImageType
2, # ImageType
0, # PaletteStart
0, # PaletteLen
bitsPerColor, # PalBits