title: In the TGA file format, what is the purpose of the x origin and y origin?
body: <p>The TGA image specification contains these two fields:</p>
  
  <pre><code>Field 5.1 (2 bytes) - X-origin of Image:
      These bytes specify the absolute horizontal coordinate for the lower
      left corner of the image as it is positioned on a display device having
      an origin at the lower left of the screen (e.g., the TARGA series).
  
  Field 5.2 (2 bytes) - Y-origin of Image:
      These bytes specify the absolute vertical coordinate for the lower
      left corner of the image as it is positioned on a display device having
      an origin at the lower left of the screen (e.g., the TARGA series).
  </code></pre>
  
  <p>This seems strange to me. Why is the position of an image on the screen contained in the data for the image itself? I would expect that images don't care about where they are positioned, since that's the responsibility of the rendering engine. Could it have to do with the fact that TGA images were designed for special video cards?</p>
  
  <p>Here's a link to the TGA spec for reference: <a href="http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf" rel="noreferrer">http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf</a></p>