digital-preservation / pronom-research-week

A persistent repository for PRONOM Research Week activities
11 stars 5 forks source link

JPEG file padding #13

Open thorsted opened 3 years ago

thorsted commented 3 years ago

Over the last year or so I have come across a few examples of JPEG files which have padding after the 0xFFD9 marker. Some are a few bytes while others are megabytes in size. Seems to be a bug in some downloading software. See https://www.macrumors.com/2020/05/01/macos-jpg-truncation-bug-widespread/

Also a conversation on the subject here: https://twitter.com/CHLThor/status/1311728118411849728

I have noticed some JPEG signatures have 65k of maxbyte offsets, while others have 130k. fmt/44 is looking for 65536 maximum offset x-fmt/390 is looking for 16000 maximum offset x-fmt/391 is looking for 131072 maximum offset

Questions:

See also Samsung trailer makernotes: https://exiftool.org/forum/index.php?topic=10813.0