123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> General >> View Article

Lossless And Lossy Digital Photo File Compression

Profile Picture
By Author: Jack Church
Total Articles: 158
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

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

Total Views: 305Word Count: 598See All articles From Author

Add Comment

General Articles

1. Magento Developers Melbourne: Your Trusted Partner For Magento Web Development
Author: themerchantbuddy

2. How Can E-commerce App Development Help Your Business?
Author: Comfygen

3. The Best Baby Cot Mattress For Summer In Australia: Keep Your Baby Cool And Comfortable !
Author: Milari Organics

4. How Might An Amazon Fba Prep Service Center Help You Streamline Your Business?
Author: 3pshipping6

5. Reviving Artisanal Craftsmanship – Why Handmade Products Matter More Than Ever
Author: Chaitanya Kumari

6. What To Look For In A New York Labor And Employment Law Firm
Author: jewellansing792

7. 50 Years Of Long-lasting Performance
Author: Busch Vacuum Solutions

8. Optimize Healthcare Revenue Cycle: Strategies For Financial Success
Author: Albert brown

9. Offres Exclusives Pour Vos Voyages En Inde Du Nord — Économisez Jusqu’à 30% — Réservez Dès Maintenant!
Author: yatika

10. 200-hour Weekend Yoga Teacher Training Course (yttc) In Bengaluru: A Pathway To Mastery In Yoga
Author: Yogakulam Academy

11. Understanding Patient Behavior: The Importance Of Market Research In Healthcare Marketing
Author: Adomantra

12. Ensuring Safety And Privacy: The Advantages Of Close Protection Services In Dubai
Author: Shancy

13. Thermodynamic Steam Traps: A Compact Solution For Maximum Performance
Author: David John

14. Best Accounting Service In California – Mj Financials
Author: maria jeffery

15. Best Astrologer In Hosahalli
Author: Pandith Keshav Das

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: