Invalid JPEG Markers

PP
Posted By
Paul_Pollard
May 6, 2005
Views
3781
Replies
8
Status
Closed
I have thousands of photos taken with a Canon 10D digital camera and stored in variuos folders on one media drive. Recently, when I try to open some photos, I get an error message "Could not complete your request because an invalid SOS, DHT, DQT or EOI JPEG marker is found before a JPEG SOI marker.

I have tried opening those files in several other media applications with the same result.

Questions:

1. How does this happen?
2. How to fix this?
3. How to prevent this from happening again?

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

DM
dave_milbut
May 6, 2005

1. How does this happen?

it just does. i hate it. cheap media? environment? etc. IOW, who knows?

2. How to fix this?

sad to say, the images are probably toast.

3. How to prevent this from happening again?

buy better media for critical files. stay current with technology. recopy the media periodically.
L
LenHewitt
May 6, 2005
1. How does this happen?<< File Corruption
2. How to fix this?<< Unlikely you will
3. How to prevent this from happening again?<< Check the drive (and
cables!) for errors
PP
Paul_Pollard
May 6, 2005
Has this issue not been addressed and resolved technically before? It’s been mentioned but not resolved at: < http://www.photoshopforums.com/archive/o_t/t_2646/view_next/>

In response to the posts above:

1. How does this happen? There must be a recent pattern or process related to new software environment that corrupts the files inadvertently. It is not the hard drive – I have used Western Digital and Maxtor 7200 rpm hard drives for years and have not had any such problem before.

2. How to fix this: Still waiting for a good answer.

3. How to prevent this from happening again: Does anyone at Adobe know of this problem?
CC
Chris_Cox
May 7, 2005
No problem with Photoshop.

Every time it gets reported it’s traced to something wrong with the system or media.
DM
Don_McCahill
May 7, 2005
Were these files ever saved in another program? Photoshop uses a very strict interpretation of the JPG format (Chris will call it the "correct" one). Other programs might be a little lax on the specification, and will both read and write files that Photoshop recognizes as incorrect.

Some programs, like Infranview, might be able to open the bad files and save them in a format that PS will understand. You might want to download the trial and see.

If they can’t open the files, then the files are truly toasted.

Don McCahill
PP
Paul_Pollard
May 7, 2005
All the jpeg files are photos from a Canon 10D camera shot on a compact flash card (the photos are native jpeg format by the Canon camera settings) and imported directly as jpeg files via USB2 to the hard drive. Photoshop is the only program I use to open and enhance the files. Some files are "saved as" for the web or as eps format for print. However, they become separate files.

Some of the corrupted files have never been opened because they were never selected for publication for whatever medium. The strange thing is that I have thousands of files on the same media drive (not on the system drive), but it is only random images that are corrupted. It some cases, it’s the entire folder of files and in some cases it’s just some files in a folder. I have only noticed this recently as I went digging for arhival photos. All photos were taken within the last 12 months.

I am not saying it’s Photoshop, but it is my primary image editing application. I did upgrade a couple of months ago from Photoshop 7.0 to the Adobe Suite with CS, InDesign and others.

I do have Macromedia, Premiere Pro and other media applications on the Dell 650 workstation.

I have not had trouble opening avi files and other media files. However, it is distressing to think that your valuable jpeg images can be randomly corrupted.

I do know that I have at least previewed the corrupted files at some point because when I import the files from the compact flash, I am sure to view them as thumbnails.

However, the corrupted files cannot now be viewed as thumbnails nor of course as filmstrip (cannot generate preview message is displayed). They remain as tiles or icons in thumbnail view which is how I am now visually identifying the corrupted files. Then when I try to open the tiles I get the "Invalid JPEG Marker" message.

This problem needs to be understood and remedied.
MD
Michael_D_Sullivan
May 7, 2005
How are you transferring the files from the CF card to the computer? Try doing it another way to see if that cures the problem. If using a card reader, try using the camera software (ZoomBrowser) or the MS WIA software to download from the card while in the camera. And vice versa.
DM
dave_milbut
May 7, 2005
he MS WIA software to download from the card while in the camera.

i’ve been doing it that way for 3 years. haven’t had a bum transfer yet. (knock on wood!) my feeling is the less you handle the media the better. the only time i remove my card is if i’m on a trip and i need to use another (about once a year).

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections