TGA Module error !

BlitzMax Forums/BlitzMax Programming/TGA Module error !

Filax(Posted 2005) [#1]
Hi

When i try to load this tga file saved by photoshop
i have an error ?

http://www.blitz3dfr.com/tempo/heightmap.rar

The same image saved in BMP work without problem.




GW(Posted 2005) [#2]
FYI, the BMax tga loader can't handle compressed TGA.
Try opening it in photoshop and resaving it, thats worked for me, assuming thats the issue. ;)


Filax(Posted 2005) [#3]
I have try with and without compressed TGA, and THIS image
is not RLE compressed ... :) There is REALLY a problem, i'm
not crazy :)

In a second test i have try to re save this image with
photoshop (without compression of course) and with this
program, and ... crash ... The same code with a BMP file
work perfectly.





Scott Shaver(Posted 2005) [#4]
works fine for me as long as the filename is correct. This is on windows with bmax 1.10


tonyg(Posted 2005) [#5]
Fine here as well. Win Bmax 1.10.
You're not playing with 1.11 again are you?


Filax(Posted 2005) [#6]
Yes using 1.11, but it's strange ...


Warren(Posted 2005) [#7]
I had a problem with the original BlitzMax release and TGA files. You can step into the loader code, you know? See if you can figure out what's going on and then send the powers that be an exact replication case.


skidracer(Posted 2005) [#8]
fixed


Filax(Posted 2005) [#9]
Thanks !