![]() |
|
Run-length CompressionRun-length compression is a method of compression which is very effective for reducing the size of bitmap files which contain large areas of solid color.Run-length compression is ineffective (and may even produce larger file sizes) on photographs or other images which do not contain large areas of solid color. To illustrate how run-length compression works imagine that we wish to store the following bitmap:
A simple way to do this would be to work along each horizontal row of pixels ("scanline"), and store the color of each. When we reach the end of row, we start the next. Using this method (in other words, not compressing), we would store data like this:
White Blue White White White White White Blue etc.
1XWhite 1XBlue 4Xwhite 1XBlue 1XWhite etc.
Related Books:
|
| With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical. Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures Privacy Terms Of Use Advertising/Endorsements Disclosures Copyright © 2005-2009, Answers 2000 Limited In Association With Amazon.com CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME. All trademarks are property of their respective owners. All third party content and adverts are copyright of their respective owners. Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service. |