ALL >> General >> View Article
Lossless And Lossy Digital Photo File Compression

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. Jack Church explains at digital prints
Add Comment
General Articles
1. Choosing The Perfect Dining Chairs Set Of 2 For Your HomeAuthor: Shamas Khan
2. Unlock The Future Of Urban Living With Menlo # Studio Hinjewadi
Author: Armaan
3. How Spirituality Promotes Common Sense
Author: Chaitanya Kumari
4. How Spirituality Can Enhance Wisdom
Author: Chaitanya Kumari
5. How To Leverage Odoo’s Full Potential With The Help Of An Odoo Development Company
Author: Tina Sharma
6. How To Select The Best Retaining Wall Repair Contractor
Author: Leon Design & Build
7. How To Set Up A Home Music Recording Studio – A Guide By Audio Logic
Author: audio logic
8. Light Up The Night With Bulk Light-up Mardi Gras Squid Hats
Author: La Luna Bella
9. Okas Residency - An Exclusive Sanctuary In Lucknow
Author: Star Estate
10. Elevator Company Bhubaneswar: Elevating Your Space With Kees Industries
Author: KEES Industries India Pvt. Ltd.
11. Challenges Businesses Face Without Proper Registration
Author: V K Saw
12. How Businesses In Dubai Can Benefit From Battery Recycling Programs
Author: Trisha Menon
13. Thân Cư Quan Lộc: Dấu Hiệu định Mệnh Về Công Danh Và Sự Nghiệp Theo Lá Số Tử Vi
Author: haminhuyn
14. Expert Accounting And Bookkeeping Services In California
Author: maria jeffery
15. Luxury E-cigarettes: Online Shopping For Las Vegas Enthusiasts
Author: Vapor Rage LLC