CompuServe Messages

TGA file problems

    03-Aug-94 22:04:27
Sb: #115360-TGA file problems
Fm: Gus Grubba 70673,1605
To: Rob Williams 72260,1630
Ok, I got the file and looked at it. It's a "New TGA" type and has some "footer" info but it is bogus. Software that disregard the footer info will have no problem reading it. The file also uses an illegal line length. No block in a compressed TGA file should wrap around a scan line. 3D Studio, however, should not have any problem with it as it does the same mistake when it generates compressed Targas. To solve this problem, 3D Studio could just ignore the "Extension" data if it find bogus, but by doing so, it would perpetuate these bad files. If nobody supported these errors, everyone would have to create a file to spec (which isn't asking too much from this people, specially when Truevision will send you a truck load of spec sheets if you ask). You will have to "convert" the Targa file using something else. Very few programs know about this "new" TGA type and will certainly read the image as if it was an older one. The difference between the old and new format is that in the new, Gamma, Aspect Ratio, and many other aspects are saved with the file. This stuff is added to the end of the file so if the software doesn't know about them, it doesn't even see it. Ok, you already got the "fix" from JKJ, this is the "explanation"! <g>