Link to home
Start Free TrialLog in
Avatar of MainMa
MainMa

asked on

Error with JPG format making it loosing colors

I have a little problem with the photos I've done when I were in Paris. All the photos were stored like this :

http://img159.imageshack.us/img159/1994/s24002221za.jpg

All other photos have exactly the same problem (same blue color, same lines). In my humble opinion, it's just a problem with JPG header, so I hope it's possible by changing few bytes of the file to correct it. Can somebody tell me where is exactly the problem, and what must I change ?


Remark: I tried multiple JPG recovery apps, but all says my JPGs are correct.
Avatar of Okigire
Okigire

Does it look like this in all viewers?  How does it look on the camera?

If it looks okay on the camera, you might want to do a camera model-specific search.  Otherwise it might be a bad camera, and in fact the JPG image may be correct after all.
Avatar of MainMa

ASKER

It looks as this in all viewers and also on the LCD screen of the camera.

In fact, I think the JPG image *IS* correct (that's why JPG recovery programs are unable to "repair" it). The problem is to find how to change this "correct blue" JPG into a "correct full-color" JPG.


Maybe somebody worked with binary JPG format and can find  what must I change to get back all the colors ?
ASKER CERTIFIED SOLUTION
Avatar of ISoul
ISoul
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MainMa

ASKER

Oh, I notify that I've just forgotten to say something important: it's the problem with the camera, ok, but I think it's not the problem with the CCD. Because when I look at the LCD screen to see the camera view (so an image from the CCD), all's ok, it's just after the image is stored (to the memory card or to the internal memory), colors goes wrong.


In JPG binary format, how the colors are stored ? I've seen some corrupted pictures (with the cutted part of it) which have a part, let's say a half of an image, which is correct, and another half which has some problems with colors, brightness, gamma... It let me suppose that the JPG has a special format, different, of course of BMP (each pixel has it's own color), and different from GIF (indexed colors at the beginning of the file). But how does it works more precisely ? (I always hope that there is a "binary" way to repair this thing...)
Have you searched online?  I remember looking at this a long while ago... try searching for "JPEG headers"

From what I recall, there is very basic information about the image in the header - namely the dimensions, etc but the actual picture is stored in the rest of the file.  I don't think there is a "Binary" way of fixing this either.  I would try different memory cards, etc and troubleshoot the camera rather than the picture.