Pev Pevsoft Image2TGA issue

frogpipe

Yesterdayz Trainz Member
Seems it doesn't fix 8x8 tga's that are "uniform color" nor BMP files that are 8x8 that are used as textures.
 
Yes, this is correct. We were originally told that textures less than 65 pixels would work as one colour textures. However this is now not the case so I have to alter Images2TGA. This will take some time as the code is quite complex and it's ages since I implemented it.
 
Well they seem to go all the way, I tried 1x1 textures to see if I could dodge the "check" and it failed so it seems the code is if all pixels are the same color it "fails" even when there's only one damn pixel to interrogate.
 
The one colour check routine is most likely similar to mine, and it would cause one pixel to be designated as a one-colour image.

Also theoretically, a 1 pixel image is still to the power of 2. 2 to the power 0 is 1. Whether the maths of the checking routines sees this is another matter.
 
Back
Top