Skip to content

Instantly share code, notes, and snippets.

@iagox86
Created July 26, 2012 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iagox86/3180638 to your computer and use it in GitHub Desktop.
Save iagox86/3180638 to your computer and use it in GitHub Desktop.
if(byte_count == 4) then
local pos, value = bin.unpack(endian .. "I", exif_data, pos)
print("value = " .. value)
else
local pos, offset = bin.unpack(endian .. "I", exif_data, pos)
print("TODO")
os.exit()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment