Is there byte signature at the start of a jpeg file that can be used to confirm it is a jpeg file?
There seem to be four .jpg signatures:
xxd -l 4 -p jpg.jpg
ffd8ffe0 (JFIF JPEG)
ffd8ffe1 (EXIF JPEG)
ffd8ffee (?)
ffd8ffdb (?)
https://en.wikipedia.org/wiki/List_of_file_signatures
- Matti