![]() |
|
Interlaced BitmapInterlaced bitmaps are bitmaps where the rows of pixels ("scanlines") are stored out of sequence.For example, the odd numbered scanlines might be stored first, and even numbered scanlines might be stored later. Some Bitmap File Formats allow interlacing, but others do not. When a bitmap file is interlaced, it potentially allows the bitmap to be displayed progressively as it is received (for example, as it is received over the Internet). Let's look at an example... Imagine a file format:
Next, we would receive the 2nd, 6th, 10th, 14th, etc. scanlines. We now have (combining this with the data already received), half of the image data. There are still many gaps, but we can guess how to fill these gaps by simply duplicating the 2nd scanline into the 3rd and 4th, the 6th scanline into the 7th and 8th, and so on. As you can see the image begins to look more recognisable:
Now, we would receive the 3rd, 7th, 11th, 15th, etc. scanlines. We now have (combining this with the data already received in the two previous stages), three quarters of the image data. There are still some gaps, but we can guess how to fill these gaps by simply duplicating the 3rd scanline into the 4th, the 7th scanline into the 8th, and so on. Now the image is even more recognisable:
Finally, we receive the remaining scanlines, and thus we complete our image.
The important point to note, is that we were able to begin displaying an approximation of the image, even when we had received only a fraction of the total image data. Furthermore, as we received more and more image data, we were able to progressively display the picture in stages until the final image was displayed. This can be a very useful feature when transmitting images over the Internet (of course, it requires a Bitmap File Format that supports interlacing, and browser software capable of this type of progressive display), as it allows users to begin to see images even before they have completely downloaded, and increases the perceived speed of web pages' display. An actual example of a format that supports interlacing is the GIF file format. GIF interlaces based on every 8th scanline, which allows images to start to be displayed after only one eighth of their data has been received.
Related Books:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Privacy Terms Of Use Copyright © 2005-2008, Answers 2000 Limited 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. In Association With Amazon.com 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. |