extract image data from TGA file during embedding

no longer embedding the entire TGA file, now we extract the image data
and dimensions and embed them as metadata. removes the need to read the
targa header at runtime, and opens the door for unpacking other image
formats.