I\'m currently working on a big project that involve pictures. One of the big issues I\'m having is with the endianness of the picture (jpeg to be clearer). I always though
Ok so I found my answer by asking question to Phil, the author of exiftool
You can see the thread I had with him here.
In command line:
exiftool -all= -tagsfromfile test.jpg -all:all -unsafe -exifbyteorder=little-endian test.jpg
You can also found a wrapper for the tool in almost any language in this page.
Thanks a lot for your interest in the question and the answer I received.