Avatar of AndyAinscow
AndyAinscow
Flag for Switzerland asked on

jpg image is somehow corrupted

I've got a number of images (jpg) taken with a mobile phone camera.
When I look at the thumbnail picture (windows explorer) everything looks fine.
However when I open the picture in an image editor/viewer I find things like the image is rotated 90 or 180 degrees OR WORSE, the image is truncated.  By that I mean one might have a strip of grey covering half the image.
How can I 'repair' the jpg so the picture displays correctly ?
Images and PhotosMobile

Avatar of undefined
Last Comment
AndyAinscow

8/22/2022 - Mon
Paul Sauvé

do the images present themselves correctly on your mobile phone? if so, try downloading them again to your PC to a new folder.
Shaun Vermaak

Post a few examples if you can
AndyAinscow

ASKER
>>do the images present themselves correctly on your mobile phone?
No.  The grey stripe also appears on the display on the phone.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
AndyAinscow

ASKER
Thumbnail in windows explorer
SNAG-0014.bmp
Image opened in Windows photo viewer (same in other image editors)
SNAG-0015.bmp
And the original
20190128_140934.jpg
AndyAinscow

ASKER
ps.  No error message appears when opening the image in an editor.
ASKER CERTIFIED SOLUTION
☠ MASQ ☠

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
AndyAinscow

ASKER
Hmmm.  Any suggestions as to (preferably free) software to try a recovery/repair.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
☠ MASQ ☠

I got a free trial a while back on a few, of about three I used there was one that worked better than the others but a) can't remember which right now and b) wasn't free but might have showed what it could do in a trial mode - I'll check when I'm home.  Not to keep going on about the odds but don't want you getting your hopes up too much.
AndyAinscow

ASKER
Some images are OK, others rather better than this - it was the worst.
It will be annoying if they are totally gone but not something I can't get again sometime in the future.  I'll have to be happy with what I get in the end.
☠ MASQ ☠

StellarPhoenixPhotoRecoverySoftware was my winner but if you upload one of the jpgs I guess I can throw some of the other things at it and see if anything works.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
AndyAinscow

ASKER
@ MASQ - sorry for not responding but I don't seem to be receiving all emails informing me someone has responded.
I'll try to find that and have a go later.

There is a jpg attachment in an earlier comment with this problem.


Further info which may not be useful or relevant.
I've taken numbers of pictures with the phone (android version 5 by the way) where it stores them on an SD card.  I then view the pictures in the gallery on the phone.  All OK.  I close the gallery viewer.  I reopen the gallery viewer and all the pictures are fine.  Close the gallery and reboot the phone.  Now when I view the pictures again in the gallery viewer numbers are corrupted in this way with grey stripe covering part of the picture.
I've realised that the grey stripe is never covering a middle part of the picture, it is always either the start up to a point or from a point up to the end of the picture.  Makes me wonder that in the header there might be something specifying grey from this point for the next 'x' pixels where the x has been corrupted to something beyond the end of image, so the viewer/editor displays incorrectly and ignores the rest of the image.
☠ MASQ ☠

No luck recovering that image :(

Looking at the raw data there doesn't seem to be any particular part of the file that is wrong in isolation. The image EXIF says this is a Galaxy S5.
From what you're describing it might be the SD Card at fault, do you have another branded 16GB you could use to test?

It would be interesting to compare (side-by-side) an image copied from the card before the reboot corruption takes place and the resulting corrupted file afterwards if you think the corruption is that predictable.
AndyAinscow

ASKER
OK, thanks for trying.  I've still to have a go myself.

>>It would be interesting to compare (side-by-side) an image copied from the card before the reboot corruption takes place and the resulting corrupted file afterwards if you think the corruption is that predictable.

I'll see if I can do that.


SD card - I was wondering that myself.  I'll see if I can get hold of one or test this card in another phone.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
AndyAinscow

ASKER
I've not had the problem repeat.  Thanks for your help.