I copied a legit files, when it was added to the diaporama, and copied it again when not in the diaporama. Some xxd and diff later, it appears the magic is in the file header.
0000000: ffd8 fffe 0012 4150 0001 0000 0000 0000 ......AP........ 0000010: 0000 0000 ffd8 ffe0 0010 4a46 4946 0001 ..........JFIF..
...and when not in the diaporama:
0000000: ffd8 fffe 0012 4150 0000 0000 0000 0000 ......AP........ 0000010: 0000 0000 ffd8 ffe0 0010 4a46 4946 0001 ..........JFIF..
Clearly, the "in diaporama" information is hidden there:
0000000: ffd8 fffe 0012 4150 0001 0000 0000 0000 ......AP........
0000010: 0000 0000 ffd8 ffe0 0010 4a46 4946 0001 ..........JFIF..
0000000: ffd8 ffe0 0010 4a46 4946 0001 0100 0001 ......JFIF......
0000010: 0001 0000 ffe1 069e 4578 6966 0000 4949 ........Exif..II
When we compare it to a dpd_XXX.jpg from the frame, we remark a small header has been added (in yellow):
0000000: ffd8 fffe 0012 4150 0001 0000 0000 0000 ......AP........ 0000010: 0000 0000 ffd8 ffe0 0010 4a46 4946 0001 ..........JFIF..
Here are the 20 bytes of interest, as a binary file.
Copyright © 2001-2008 Vincent Stehlé ( vincent.stehle@free.fr). |
![]() |