Category Archives: repair

Recent changes to JPEG-Repair Toolkit

2.8.101 # Adds MCU clone tool To repair a JPEG you typically need to remove corrupt data which affects alignment of all data following corruption. To re-align you then insert stuff bytes (zeros) which leave a grey horizontal line. In this video I show how I use MCUs directly above the grey line to replace… Read More »

JPEG restart markers to the rescue

Restart markers make the difference This YouTube channel by my friend and colleague Nguyễn Vũ Hà has many great examples of JPEG-Repair being used to repair STOP/DJVU ransomware affected files. This video in particular is a great showcase on how JPEG restart markers prevent corruption propagating through the JPEG image stream. As you can see… Read More »

Alternative method for half grey or truncated JPEG photo repair

There are various examples on this website of repairs of half grey or truncated JPEG images. In those cases all image data is actually present, but due to an error or corruption only a part of it is visible. If data is simply missing because for example the file is partially overwritten or cut-off, repair… Read More »

Repair/Recover JPEGs encrypted by ransomware STOP Djvu

This article shows repair of JPEGs that fell victim of ransomware. This particular ransomware only encrypts part of the file. Due to this the JPEG header and some 150 KB of JPEG data are lost. Using a reference file and weeding encrypted data we can repair the photo.

Unknown or invalid JPEG Marker

If you get a Unknown or invalid JPEG Marker this means one of two: The photo viewer or editor encountered a JPEG marker it isn’t familiar with. The JPEG file is corrupt. To rule out cause 1, your photo viewer editor doesn’t recognize a certain JPEG marker, update your software and if that does not help, try… Read More »

Recovered photos are corrupt – Won’t open

Recovered photos are corrupt and won’t open after you tried to recover them using undelete, file recovery of photo recovery software? Here’s a few things to try. There are a huge number of JPEG recovery and undelete programs available on the web, many even for free. However, the vast majority of these can only handle… Read More »

How to repair a corrupted JPEG photo

How to repair a corrupted JPEG photo may seem a simple question but the answer isn’t. Many people seem to expect to run some JPEG Repair software and that fixes it. And that’s what many of my competitors promise. If only it were that simple. Now, let’s take this one step at the time to… Read More »