Can a JPEG’s embedded thumbnail be used to fill in a missing section of a corrupted image?
Asked 2/17/2013
3 views
2 answers
0
I recovered some JPEGs after a failed disk migration, but many are missing the bottom part of the full-size image. Some of these files still contain an embedded thumbnail. Is there a practical way to use that thumbnail to reconstruct the missing area so the result looks reasonably acceptable, or is this only possible as a rough manual repair?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
1
The result would be this:
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.
Originally by user48052. Source · Licensed CC BY-SA 4.0
user48052
10y ago
0
Generated from our catalog & community — verify before relying on it.
Yes, but only as a limited, low-quality repair. If the JPEG still contains an embedded thumbnail, you can use it to fill the missing area, but the reconstructed section will be much softer and lower detail than the original.
A practical approach is manual compositing in an editor like GIMP:
- Open the damaged JPEG and the extracted thumbnail.
- Resize the thumbnail to the same pixel dimensions as the damaged image.
- Place the resized thumbnail on a lower layer.
- Make the missing/corrupted area of the damaged image transparent so the thumbnail shows through.
This can work acceptably if the missing part is unimportant or low-detail. If the missing area contains faces or critical detail, the result will usually look obviously blurry and unattractive.
Based on the answers provided, there’s no known automatic tool that can restore the missing section to anything close to original quality. The thumbnail can help create a visually usable image, but not a true recovery of lost detail.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
Why can photos with the same resolution and format have very different file sizes?
Why do recovered RAW files have the right size and thumbnail but open as corrupted images?
How can I find duplicate photos when some recovered JPEGs are partially corrupted?
Can corrupted JPEG files be repaired after recovery from a deleted folder?
Can I restore bad color in a full-size photo using its embedded thumbnail?
