Getting corners or center-mag info from fractXXX.tga
Hi again, I don't suppose there's any corners or center-mag info hiding in the fractXXX.tga image header? It doesn't look like it, but it never hurts to ask. It's not critical, as I can find other ways to get that info (i.e., from a PAR), but it's be oh-so-handy if I could just read it from the TGA... - Jason -- Cheers from Mr. Tumnus! "Here... take my handkerchief." Hoofing it bare-chested since 1974.
On 2011-09-01 9:52 PM, Jason Hine wrote:
Hi again,
I don't suppose there's any corners or center-mag info hiding in the fractXXX.tga image header? It doesn't look like it, but it never hurts to ask. It's not critical, as I can find other ways to get that info (i.e., from a PAR), but it's be oh-so-handy if I could just read it from the TGA...
- Jason
If parameters are stored in TGAs, then when you retrieve them, you should hav parameters loaded. I suspect not. _______ Voodoo Programming: When programmers do not believe their program should work.
Jason,
I don't suppose there's any corners or center-mag info hiding in the fractXXX.tga image header? It doesn't look like it, but it never hurts to ask. It's not critical, as I can find other ways to get that info (i.e., from a PAR), but it's be oh-so-handy if I could just read it from the TGA...
No, the only additional information we put in the tga header is maxit as the first four bytes after the header. Anything we add is nonstandard and can potentially break other programs that read tga files. I could add the center-mag information in the 252 bytes left to play with right after the header, but I don't think I have any way to verify that it works correctly. Jonathan
participants (3)
-
Jason Hine -
Jay Litwyn -
Jonathan Osuch