View Full Version : Pev Pevsoft Image2TGA issue

April 10th, 2013, 07:21 PM
Seems it doesn't fix 8x8 tga's that are "uniform color" nor BMP files that are 8x8 that are used as textures.

April 10th, 2013, 09:55 PM
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.

April 10th, 2013, 11:19 PM
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.

April 11th, 2013, 05:06 AM
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.