Decode TLV coded image file