My very dear friend Raelene sent me a file this morning that wouldn’t open on her Mac.Â She was getting this annoying error:
“Could not complete your request because and unknown or invalid JPEG marker type is found.”
I’d love to blame this on her Mac, but no, this is not a platform-related problem.Â It can happen to any Jpeg file, any time. Sure enough, when I tried to open it on my PC, Photoshop gave me the same error:
I don’t profess to know what causes this.Â It’s some kind of corruption in Jpeg files.Â Thankfully, it’s not very common.Â And thankfully, it’s sometimes easy to overcome (not always).
First, I checked the file size.Â If a Jpeg file is really badly corrupted, it will sometimes be really tiny – only a few kilobytes.Â If I ever see that, my heart drops, because the chances of recovery are poor.Â But this file was seventeen megabytes – plenty big enough to give me hope.
And the fact that Windows was able to show me a preview of the photo also made me confident.
The trick is simple. Open the file with the dumbest photo software you own.Â If you paid even a dollar for the program, it won’t work.Â It has to be utterly uncomplicated.Â For some reason, clever software like Photoshop is too clever for its own good.
So I chose Paint:
And sure enough, it opened just fine!Â In Paint, I was able to save it as a new file name, then everything was rosy.Â Photoshop was able to open the new file just fine.Â The only problem was that the image was untagged (no color space), which I addressed this way.
(By the way, when I re-saved the file from Paint, I chose TIFF as the file format, rather than Jpeg again.Â This might have been unnecessary, but I don’t trust the compression that dumb programs like Paint apply to photos.Â It might have caused too much damage.Â Choosing TIFF was a safe option.)
The above “dumb software” method has worked for me lots and lots of times in the past.Â I hope it works for you too.
- Mac peeps, if your computer doesn’t have any software dumb enough, send the file to a friend with a PC, and ask them to try Paint.
- PC peeps, if Paint doesn’t work, see what else you’ve got.Â One of those programs that appear in your “Edit with” menu might work.
- On more than one occasion, I’ve been able to view a photo in a dumb program, but still couldn’t save it.Â Out of utter desperation, I have taken a series of screenshots of the image in the viewing program, then assembled them together in Photoshop.Â Desperate times call for desperate measures, right?