And here you can see the sensor (the greenish-blue thingie), when the lens is removed, as it sits in my camera.
See ‘Size Matters’ below for a short discussion of camera sensor megapixels and their importance.
As soon as you snap your photo, that sensor, along with the computer chip in your camera, now passes color information along the camera’s electronic pathway.
WARNING: Don’t want a bit more technical information? Then skip the next paragraph.
Each pixel on the sensor is made to respond to either red, green or blue light (but not all three) and there are 2 green-sensitive pixels for each red and blue pixel, because human eyes are more sensitive to green. I don’t want to muddy the waters much more, but there is another important step in here: a process called ‘Bayer interpolation’ calculates what the ‘true’ color of each pixel should be based on the relative strengths of the red, green and blue neighboring pixels. Each pixel in the converted image now has three color factors stored for each-and-every pixel: the red intensity, the blue intensity, and the green intensity. The brightness of the pixel is also stored for each pixel. The mixture of those three colors for each pixel gets converted into color intensity for each of the typical colors, be it red, yellow, green, cyan, blue, magenta, or the millions of colors in-between.
So, the computer chip within your camera has now determined which color each of the pixels should be, along with their intensity, and that color information is now transmitted along the camera’s electronic wiring to the next step.
CAPTURING THE IMAGE
Once that color intensity information has been calculated, it is passed to a computer chip that is installed in your camera. But, before it reaches that chip, it is in a raw, unaltered state – this raw image has not yet been saved to the storage device in your camera (a ‘card’ for many cameras, or typically a built in storage device within your cellphone). So, just before that image reaches that computer chip in your camera, the image is in a raw format. If you were able to see that image at this point, trust me – it would not be very flattering to you as a photographer, as it is very dull in several ways.
Another really cool thing is that a lot of other information travels along with that captured, but as yet unsaved, image. Information such as the camera model, date, time, lens and camera settings, and location (on some cameras, but for sure on your cellphone camera). That information will be stored in the image file down the pipeline as explained below.
JPEG STORAGE
So, what happens next to this raw image? That’s where the computer chip in your camera does some marvelous things. What that chip does was determined several years ago by a group of camera-industry folks who started to meet in 1986. They called themselves the Joint Photographic Expert Group (the acronym for which is JPEG – cool, huh?!). In a 1992 meeting, they all agreed that the raw, unprocessed, unaltered, unadulterated and non-manipulated image that the sensor captures had to be enhanced if the masses were to ever buy a digital camera.
The JPEG agreed on the following: the raw image should have the contrast increased a certain amount, so the image doesn’t look so ‘flat’; the raw image should have the saturation increased by a certain amount, to give it more ‘color’; the raw image should be sharpened a certain amount, so it doesn’t look so ‘fuzzy’.
Another factor that is adjusted is the ‘white balance’, which is a bit more difficult to explain in a short article; but, suffice it to say that it has to do with whether the overall look of the photo is warmer or cooler, and is directly related to the settings you can make using your camera’s menu for ‘scenic’, ‘portrait’, ‘shadows’, ‘tungsten’, 'flash', etc.
They also came up with a way to save the photographic image so that it would take up less space on your storage device, which means that an image saved as a jpeg image loses just a bit of its quality each time it is saved.
So finally, the sensor information with the JPEG-designated changes, as well as the camera and capture information mentioned above, is baked into the file with the file extension of .jpg as it is saved to your camera.
CAPTURE SUMMARY
So, when you press the button on your camera, the sensor captures the light rays, the electronic version of those rays is sent through your camera’s wiring to a computer chip in your camera, then that chip manipulates the image using the Bayer calculations and standards created by the JPEG folks, and finally it is saved to your camera’s storage device. You then just look at the image digitally, print it out at home, upload it to a print facility, or take it personally to a print facility.
If you want to have prints larger than the usual 4”x6” variety, you may or may not have much luck getting a quality print – as the camera’s sensor size is one of the factors that determine print-size quality. Again, see ‘Size Matters’, below.
Here is a simple flowchart showing the process just described. The flow along the top is the one to generate a JPEG file. The blue line below avoids all of the JPEG's enhancements, as discussed next.