like the title says the only thing i can see that is wrong is that in the javadocs it says 24b or 32b TGA and i have 8b but besides that it's pretty straight forward
public static Image TGALoader(String filename)throws IOException
{
Image texture= new Image();
FileInputStream fis = new FileInputStream(filename);
texture=TGALoader.loadImage(fis);
have a program in mind i'm using photoshop and i'm no good with it but it says 8 b/channel under mode and if i move it to 16 it won't allow me to save using TGA
at java.io.DataInputStream.readByte(DataInputStream.java:333)
at com.jme.util.TGALoader.loadImage(Unknown Source)
at main.TGALoader(main.java:81)
at main.main(main.java:20)
Press any key to continue…
EOFException being it ran into something it wasn't expecting which is why i thought i had the wrong kind of TGA but i dunno what the problem is if it is not that.