Hello, I've been studying JPEG headers (DHT tables, SOI, and all the other fun stuff) formats and errors to make a tool to help fix corrupt images.
If you have some samples you would like to know if they are fixable I am eric at codecancare . com happy to help out.
Happy to give them a shot...