A few years ago, my friend asked me for advice on how to solve the problem of quickly editing a large number of photos from WhatsApp using Photoshop.

When he tried to open a photo sent to WhatsApp in Photoshop, he got an error:

Could not complete your request because a SOFn, DQT, or DHT JPEG marker is missing before a JPEG SOS marker

You can fix a file by opening it in MS Paint and resaving it. But if you have a lot of such files, this is not the most interesting task.

So I decided to create an open source and free tool that would help solve this problem.

Readme and source code repository: https://github.com/cdefgah/whatsapp-jpeg-repair

Binary releases: https://github.com/cdefgah/whatsapp-jpeg-repair/releases/

If you have questions, feel free to ask.