Photography Photography

Lossless and lossy digital photo file compression

 
 
Compressed digital photo file formats – storing digital photos
Digital photos are stored as files on memory cards and computer hard disks. They can be stored in different file formats (each format has a unique file extension). Most of the formats are compressed to save space and each has its own pros and cons. The need for standard file formats Digital photos are saved as di... Read more


 Home | Hobbies | Photography

Lossless and lossy digital photo file compression

This Photography Article is Brought To You By - Jacob Georgeson

Digital photos are stored as digital files on electronic media. Digital photos are comprised of pixels each one with a unique color and intensity. While digital photos do not have to be compressed in most cases they are. Compression serves one goal make files smaller and save storage space.

A digital photo is a built of pixels. A pixel is a single dot in the photo that has a value. A pixel’s value represents its color and intensity. Usually each pixel is represented by an RGB value (Red, Green and Blue that combined together create the pixel’s color) that occupies 3 bytes. Digital photo files can be very big. For example if you shoot a photo using an 8 mega pixels digital camera the photo will have 8000000 pixels each one occupying 3 bytes. The total file size would be 8000000*3=24000000 or 24Mbytes. However ff compressed using the right technology this file could be much smaller - about 3Mbytes would be common.

There are two main types of compression technologies: lossy and lossless:

Lossless compression: Lossless compression means that if you take a file compress it and then decompress it – the decompressed file would be the exact copy of the original file. With lossless compression no data is lost in the compression process – the compression software uses better representation of the data in the file but it does not remove any data from it.

Lossy compression: Lossy compression means that if you take a file, compress it and then decompress it – the decompressed file would be slightly different than the original one. The compression software not only represents the file’s data more efficiently but it also removes data that it analyzed as being minor or not important. Such data can be removed without hardly any noticeable degradation in the compressed file quality. The differences between the original file and the decompressed file are minor and negligible to the user.

Lossless compression is usually applied to text and other data where all data is equally important. For example when compressing the text in this article and later on decompressing it you would want to get the exact original article without any words or sentences dropped by the compression software that decided they were not important.

Lossy compression on the other hand is usually applied to digital photos and graphic files. Such files include data that the viewer would not be able to notice if removed. For example small changes to color in a photo might not be noticeable. The decompressed file is not exactly the same as the original one but when viewing both the original and decompressed photos side by side the viewer can not tell the difference. Lossy compression software can be set to different compression levels based on how much data is allowed to be lost. At some point losing too much data is noticeable and degrades the digital photo quality. Many digital cameras allow you to set the level of compression from low to high where high compression means smaller files but less quality and low compression means bigger files but no noticeable quality degradation.

Digital photos are almost solely compressed using lossy technologies. The reason is that due to the nature of a photo (it includes noise, very minor changes that are hard to compress but are not important to the view and more) lossless compression technologies do not perform well on it. On the other hand Lossy compression technologies can be very effective in reducing digital photo file sizes – sometimes an order of magnitude or more.

  • Photography Products on our marketplace

  • More information is available on this site about lossless Jacob Georgeson is business writer. This article can be published only if the resource box including the backlink is included.
    Please Rate The Article From The
    Photography Category

    Lossless and lossy digital photo file compression

     

    Not yet Rated

    Photography Related Articles Via RSS

    Boost your websites' search engine ranking! Attract more repeat visitors! Automatically, consistently update your content via Really Simple Syndication (RSS). To syndicate the above article and other Photography related articles on your blog or site, simply click on the XML Icon above to grab the RSS feed.

  • What is a digital photo JPEG file?
    Digital photos are stored as files on memory cards and computer hard disks. They can be stored in different file formats (each format has a unique file extension). Digital photo files can be compressed to save storage space and ...
  • PNG is replacing GIF files for digital graphic storage
    GIF is one of the oldest file formats used for graphics and digital photos storage. GIF has many technical advantages but it also has one big business disadvantage. GIF uses LZW compression which is tangled with patents and lice...
  • Pixel color depth or bits per pixel in digital photos
    Digital photos are built of many pixels. Each pixel has a unique value which represents its color. When you are looking at a digital photo your eyes and brain merge these pixels into one continuous digital photo. Each pixel has ...
  • Getting more battery time from your digital camera battery
    Like other portable consumer electronic devices digital cameras use batteries as their power source. All batteries have one major drawback: they only last for a limited time. In this article we will explain what camera features ...
  • Auto and manual focus modes in digital cameras
    One of the important phases of shooting a good photo is focusing on the photo’s objects. Photos that are out of focus look bad and blurry. Sometimes shooting out of focus objects is done on purpose as an artistic effect but in m...
  • Methods for focusing your digital camera on moving objects
    Focusing is an important part of shooting a good photo alongside with composition and lighting. Focusing on static objects is relatively easy either by manually focusing or by using the camera auto focus feature. Focusing is muc...
  • © 2008 Article24.info All Rights Reserved.