Search photokaboom.com
![]()
Beecher's HandoutsFree book. Beecher's Handouts is a free digital photography book. You can use it online, or you can download a free copy. | LightroomFun & easy. Organize and edit your photographs with aplomb. | Photoshop Elements100s of articles & tutorials. Edit with Photoshop Elements. It's easier to use than Photoshop—does what photographers need to do—and costs a lot less. | PATHFree book. Most books are about cameras. This book is about you. Get on the best photography path with PATH. You can use it online, or you can download a free copy. | Tips100s of tips. Learn something new. Improve your photography. Topics include how to buy a camera, flash, lenses, matting & framing, night photography, & lots more. | photokaboom.com blog2 treats a day. Every weekday—two photography "treats" are posted: the best articles, interviews, tips, & tutorials. | NYC Photo ExhibitsGet inspired. There are over fifty photography exhibits in New York City.
Over 300 Master Photogs Take a "master class." There are hundreds of links to over 300 master photographers. | Creative Energy QuestionnaireYour inner photographer. Delve into your inner photographer. Get more creative energy. | Printing Labs & printers. Get help wih your prints. | For Jim's StudentsHelp & support. I've gathered essential articles for you. | Upcoming ClassesGet better. Take a class. | Private LessonsTailored to your needs. Get just what you need—right when you need it.
New Stuff
Tips: Skyline Photography
Download a FREE copy of Beecher's Handouts. Go to Download.
This section has two parts.
|
Pixels, Bits, & Bit Depth: Bytes, Kilobytes, & Megabytes: |
The term pixel is from picture element.
When photons are collected by the millions of photosites on your camera's sensor, pixels are created.
These pixels are the small squares that make up your photographs.
Most people can skip the next section about bits and bit depth.
Each pixel is made up of data called bits.
A pixel in a JPEG file has 8 bits of data for each of the three colors, red, green, and blue.
| Color | Bits |
| Red | 8 bits |
| Green | 8 bits |
| Blue | 8 bits |
Each of those bits has two possibilities—it can be either on or off.
With 8 bits, and with each bit being either on or off, there are 256 combinations for each color.
Here's the math.
Take the number of bits, 8, to the power of the number of possibilities for each bit, 2, to get 256 possible combinations (82).
| Color | Bits | Each Bit | Total Possible Combinations |
| Red | 8 bits | Can Be On or Off | 256 |
| Green | 8 bits | Can Be On or Off | 256 |
| Blue | 8 bits | Can Be On or Off | 256 |
Now, if we combine the three colors, there are 16,777,216 possible colors for each pixel.
Here's the math.
256 x 256 x 256 = 16,777,216
Take the number of possible combinations for each color channel, 256, and multiply them together.
So, there are 16.7 million possible colors in a JPEG with a bit depth of 8 per color, or a bit depth of 24 for the entire file.
Raw files generally have a bit depth of 12 per color channel, for a total bit depth of 36 for a file.
Each color channel has 4,096 possible combinations—compared to the 256 of a JPEG color channel.
Take the number of possible combinations for each color channel, 4,096, and multiply them together.
4,096 x 4,096 x 4,096 = 68,719,476,736
There are 68 billion possible colors in a raw file with a bit depth of 12 per color channel, or a bit depth of 36 for the entire file.
With all of that data, you can do extensive editing without the loss of quality that would occur when editing a JPEG file.
Whenever you edit, some of the data is degraded.
With more data, a raw file will have a far smaller percentage of degradation that a JPEG file.
For more about Raw files, go to Raw v. JPEG.
Bytes, kilobytes, and megabytes are measurements of the size of photography files.
A byte is the smallest unit of measurement.
There are a thousand bytes in one kilobyte.
In turn, there are a thousand kilobytes in one megabyte.
That's 1,000 x 1,000 = 1,000,000.
Because a kilobyte has a thousand bytes, multiplying it by a thousand equals 1,000,000 bytes.
| One Kilobyte | One Megabyte |
| 1,000 bytes | 1,000,000 Bytes |
You may encounter slightly different amounts.
Sometimes, the following figures are used instead of a 1,000 and 1,000,000.
| One Kilobyte | One Megabyte |
| 1,024 bytes | Bytes Bytes |
These numbers are actually more accurate.
The size of a file affects how fast various operations can be performed.
Large files require more time to be saved to your memory card after you press the shutter release.
This can be an issue if you're taking many photographs in quick succession.
Many cameras have a burst mode to facilitate this activity.
Large files also take longer to process when editing.
However, because you have more to work with, the final photograph may be of higher quality.
The speed of uploading and downloading files, the sending and receiving of files, depends in part on the size of the files.
If you're e-mailing files, your e-mail program will reduce the size of large files.
Megapixel is the measure of the devices that collect the photons, to make pixels, on the camera sensor.
One megapixel is one million of these devices.
So, one megapixel will produce one million pixels.
A twelve megapixel camera will produce twelve million pixels, for example.
The twelve million pixels are arranged in a rectangular array called the pixel dimensions.
Is a twelve megapixel point-and-shoot camera making a photograph that has the same quality as a twelve megapixel digital SLR?
No.
The two cameras have the same number of megapixels, but more data is collected by the digital SLR.
That's because the photosites on the sensor of a digital SLR are larger.
They gather more photons, making for pixels with less noise in relation to image data.
Go to Are More Megapixels Better?.
| Back | 2.3 | Next |