My phone's camera app crashed from time to time when taking photos and now some of the resulting JPEGs have weird colours. I think some of the details got lost so there's probably no way to fix them, but I noticed the thumbnail in the EXIF data has the right colours and was thinking they might be mergeable.

I tried blending the colours from the thumbnail with the full-sized image using Photoshop, but couldn't get good results (I'm not that great with Photoshop).

Does anybody know a proper way or an alternative way to fix the full res image colours?

Photo: (note, this one has been resized in order to keep it under the 2MB limit) Photo Thumbnail extracted from EXIF:

1 Answer 1


You seemingly plan to take the right exact geometry from your high resolution version which unfortunately looks badly overexposed and to take only the brightness levels and colors from the low res thumbnail.

Because the low res thumbnail is better exposed your high res version must have been converted from RAW image to JPG in a wrong way by the software. The thumbnail proves that in some phase the captured levels have been acceptable.

The plan is brilliant but unfortunately there doesn't exist such thing as right high resolution geometry. All forms are made by the flesh between our ears. That flesh has only different pixel brightness levels and colors and our vast memory content as a reference to build the geometry. If you want to transfer the right brightness levels and colors from the low res thumbnail to the high res image your software must be able to guess the relationship between the high and low res versions. I guess no such software is available for ordinary users. But Artificial Intelligence scientists can have it. And, of course, those who make jobs for NSA or CIA.

The case isn't totally hopeless. We have some image enlargening software which try to guess the high res version of a low res image. They guess where are the sharp edges and where a smooth gradient is wanted. I must admit they have succeeded quite well. The next is your thumbnail enlargened with one of them (see NOTE1) to the high res size:

enter image description here

Zoom in reveals that it's not perfect. It cannot guess those details which are missing from the thumbnail. The enlargening is several hundreds of percents:

enter image description here

The contrast of the high res version can be stretched to cover the full brightness range 0...255 with curves or levels. The result has lost all details in bright areas:

enter image description here

I tested does an average of the fixed images be more pleasing than any of the fixes alone. For me 50%/50% average looks better. It's made simply by layering both versions and by making the upper layer have 50% opacity:

enter image description here

For best result you should not use 50%/50% average, but select with a layer mask where the enlargened version really is used. That's because it's needed only where overexposure has wiped off too much details.

There's still some yellowish color cast due the light conditions. It can be corrected by white balance adjustment or by using a plugin which does the same. This is my guess of the right color:

enter image description here

One possibility to extract details from the enlargened version to the high res, but overexposed version is to high-pass filter the the enlargened version and blend it with blending mode Hard Light or multiply with the high res version. here's one attempt:

enter image description here

NOTE1: I have tested 2 image enlargeners and both of them work well. they are Smilla (=freeware) and On1 Resize (=commercial). There are many others.

  • That is awesome. This answer is more than I could ever hope for! Thank you so much, I'm going to try the methods you described on my other photos as well. It's going to take some time but it'll be a good learning experience. Thanks again!
    – Tom
    Apr 25, 2020 at 17:00

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.