I've lost files during file migration from one disk to another, and now I'm recovering them, and I have lots of JPG image with bottom of image missing but with a thumbnail.


Is there a way/program who can take thumbnail fill out the missing part and with some kind of algorithm make that filled part decent quality at least 60% of the original picture?

Here is recovered thumbnail:

enter image description here

Here is example of image with missing part:

enter image description here

  • \$\begingroup\$ From the width of the thumbnail and the width of the image, you could only recover with 25% quality using the proposed method. I have never used any jpeg recovery software, but there are companies that say they can do it. \$\endgroup\$
    – Phil
    Feb 17, 2013 at 19:29
  • 1
    \$\begingroup\$ You'll probably need to experiment with programs like Photoshop (or even Paint.NET). They can all enlarge the thumbnail but will have different algorithms to do the interpolation. You might find that you need to use different methods for different photos. \$\endgroup\$
    – ChrisF
    Feb 17, 2013 at 19:29
  • \$\begingroup\$ @ChrisF Maybe what I'm searching for is a program that uses existing HD image as template and then enlarges thumbnail using same patterns. And I would love to start learning about JPG recovery and start writing program for it, but unfortunately I have no time to do that. \$\endgroup\$
    – skmasq
    Feb 17, 2013 at 19:32
  • 3
    \$\begingroup\$ @skmasq: You might want to see if here are actual recovery tools that can fix, or at least bypass, the problem in the JPEGs. Such issues are usually caused by only a few blocks of the image being bad, and the rest of the image likely still exists. If you could find a tool that will open the photo and load as much of it as possible, you might be able to fix any bad spots with the content-aware tools of Photoshop Elements or CS5/6. \$\endgroup\$
    – jrista
    Feb 17, 2013 at 20:12
  • 2
    \$\begingroup\$ @jrista Ok I will try that, but the thing is, this is allready recovered image, before I couldn't even open it. \$\endgroup\$
    – skmasq
    Feb 17, 2013 at 20:46

1 Answer 1


The result would be this:

repaired image

In the case of this picture it might be an improvement because the missing part was not the most interesting part (not the eye-catcher) of the picture and it being blurry after reconstruction from the thumbnail does not completely ruin the picture.

In other cases, though, this method will make faces look like ugly blobs next to sharp ones. All hope to gain anything by this method is probably lost then.

I know of no tool which does this. The reparation I did manually using GIMP. I loaded both JPG files, resized the thumbnail image to the dimensions of the original file, copied this as a new (lower) layer in the original file and made the gray part of the corrupted file transparent.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.