Search Connected Photographer's 6,269 photography article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Understanding how image compression works (continued)

In general, at this stage of our technology, the capture can be astoundingly high quality.

So think it through. If you're capturing at very high resolution and at very high quality, you're going to be capturing a lot of data. A whole lot of data. But what if you could take that data, say from a song, and save it in a format that takes a lot less storage? We recently captured a four minute song sung by a friend. When stored in the best quality format possible, that song took up 21 megabytes. But when it was converted to MP3 format, that song took up only 969K, less than 5% of the original data size.

Incidentally, this is why the music industry is losing its collective mind. Before MP3 came about, a song took forever to download. But when you can save the song to a format that's only 5% of the original size, "forever" becomes just a few minutes. And that's why file sharing services such as Napster and Kazaa took off. The "enabling technology" was the MP3 format, and specifically the compression algorithm in MP3.

So how does it work? What magic happens that makes an MP3 take only 5% of the storage of the original? What magic makes a JPEG take a tenth of the space of a TIFF image file?

One word: compression. Two words: lossy compression.

With regular compression, you want to be able to decompress an item later, and have that item be exactly the same as what was originally compressed. Think about your hopes and desires when you ship something to your mom via UPS. When you stick the object in the box, you want it to come back out in perfect condition (or at the very least, the exact same condition it was in when packed into the box originally). Perfect reproduction happens with regular data compression. When you compress a file and then decompress it, the original and the decompressed file are exactly the same.

With me so far?

Now, the thing is, you can only save so much space when you're using exact (or "lossless," meaning "nothing's lost") compression.

Lossy compression compresses a file so that when it's later decompressed, it appears to be the same. But it isn't. What happens is that some astoundingly brilliant algorithms delete data from the file in such a way that when the file is later reconstructed, you don't notice the deletions.

In an MP3, this means deleting the sounds the human ear can't hear. In photographs, this means deleting the variations in color and tone the human eye typically doesn't notice. By doing this sort of perceptual compression, developers are able to save a huge amount of additional storage.

Now, of course, if you take a picture, you may or may not want to be able to get all the pixels. And that's why you may or may not want a camera that uses lossy compression as its default format.

How JPEG deals with compression
As mentioned above, JPEG is a lossy format. But the degree of loss can often be controlled by you. If you've got more storage space, you'll want less loss. At higher degrees of loss, you can start to see some "artifacting," where the compression is no longer making a perfectly clear reproduction upon expanding.


« Previous  ·  1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Basics > Understanding Digital (15 articles)
   PHOTORECOVERY can restore your lost pictures
   Caring for your thumb drive (and other flash memory)
   Viewing RAW images in the Windows Explorer
Home > Photo Editing > All About Digital (6 articles)
   Bit depth in JPEG images
   A real-life Bible Code: the amazing story of the Codex Sinaiticus
   A RAW deal: Using the RAW image format
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent Connected Photographer Articles
Incident report: denial of service attack against ConnectedPhotographer.com
How to reduce stress in this crazy, crazy world
Adobe's CS4 Master Collection is the Full Monty
Get ready for wedding photography
Here come the judge, Barack's BlackBerry, David does CNN, and more
We review Photoshop CS4: The Missing Manual and more
So long 2008, and thanks for all the phish
Connected Photographer News
"Kubota Artist Series Style Book & DVD Tutorial, Artist: Tamara Lackey"
KODAK Picture Saver Scanning System
Kubota Image Tools Launches vintage Delish Lightroom Presets
Hands-On With HDR Photos in the Next iPhone Update
Canon develops world's largest CMOS sensor
Nikon Coolpix L110 Review
Understanding Motion and Emotion
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Introducing the Jones family and their full-family backup challenges
David Gewirtz Online: CNN commentary and analysis
DominoPower: Lotus must open source Notes and Domino
OutlookPower: Hands on debugging a broken Outlook forwarding rule
-- Advertisement --

BLOGGING AND PODCASTING WITH ONE EASY-TO-USE TOOL
Now you can publish your thoughts, opinions, and comments in your own blog or podcast.

  • Supports multiple authors and multiple blogs or podcasts.
  • Generate and publish RSS feeds for iTunes and other directories.
  • Post photos, images or animations.
  • Get feedback and have conversations with visitors to your site.

Personalize your blog or podcast with your own unique domain name -- or integrate it with your existing site by setting it up as a subdomain.

Tap here and get blogging or podcasting within minutes.

Tap here and get blogging or podcasting within minutes.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login