An illustration of Adam7 interlacing over a 16×16 image

In computing, interlacing (also known as interleaving) is a method of encoding a bitmap image such that a person who has partially received it sees a degraded copy of the entire image. When communicating over a slow communications link, this is often preferable to seeing a perfectly clear copy of one part of the image, as it helps the viewer decide more quickly whether to abort or continue the transmission.

Interlacing is supported by the following formats, where it is optional:

  • GIF interlacing stores the lines in the order
  • PNG uses the Adam7 algorithm, which interlaces in both the vertical and horizontal direction.
  • TGA uses two optional interlacing algorithms:
    • Two-way:
    • And four-way:
  • JPEG, JPEG 2000, and JPEG XR (actually using a frequency decomposition hierarchy rather than interlacing of pixel values)
  • PGF (also using a frequency decomposition)

Interlacing is a form of incremental decoding, because the image can be loaded incrementally. Another form of incremental decoding is progressive scan. In progressive scan the loaded image is decoded line for line, so instead of becoming incrementally clearer it becomes incrementally larger. The main difference between the interlace concept in bitmaps and in video is that even progressive bitmaps can be loaded over multiple frames.

For example: Interlaced GIF is a GIF image that seems to arrive on your display like an image coming through a slowly opening Venetian blind. A fuzzy outline of an image is gradually replaced by seven successive waves of bit streams that fill in the missing lines until the image arrives at its full resolution.

Interlaced graphics were once[when?] widely used in web design and before that in the distribution of graphics files over bulletin board systems and other low-speed communications methods. The practice is much less common today, as common broadband internet connections allow most images to be downloaded to the user's screen nearly instantaneously, and interlacing is usually an inefficient method of encoding images.[citation needed]

Interlacing has been criticized because it may not be clear to viewers when the image has finished rendering, unlike non-interlaced rendering, where progress is apparent (remaining data appears as blank).[1] Also, the benefits of interlacing to those on low-speed connections may be outweighed by having to download a larger file, as interlaced images typically do not compress as well.[2]

References

edit
  1. ^ Chapter 6: Adding Images to Your Site by Philip Greenspun, part of Philip and Alex's Guide to Web Publishing, June 2003
  2. ^ "Compression and Filtering (PNG: The Definitive Guide)". Archived from the original on 2024-05-05.
edit

📚 Artikel Terkait di Wikipedia

Interlace

Interlace or interlacing may refer to: Interlace (art), a decorative element found especially in early Medieval art in Northern Europe Interlacing (bitmaps)

PNG

of file size optimization, as discussed below. If interlacing is used, each stage of the interlacing is filtered separately, meaning that the image can

GIF

used extensively on the Web to produce simple animations. The optional interlacing feature, which stores image scan lines out of order in such a fashion

MOS Technology VIC-II

as hires bitmaps) and the third is from color RAM. Despite the high level of color detail and all-points-addressable capabilities of bitmap mode, it is

Extended Graphics Array

of 1024 × 768 pixels with 256 colors at 43.5 Hz (interlaced), or 640 × 480 at 60 Hz (non-interlaced) with up to 65,536 colors. The XGA-2 added an 800 × 600

Raster scan

the use of interlacing – since only every other line is drawn in a single field of broadcast video, the bright newly drawn lines interlaced with the somewhat

Display lag

resulting calculated frame buffer is then written to the display device. De-interlacing imposes a delay that can be no shorter than the number of frames being

ZX Spectrum graphic modes

of the colour output is 64 times lower than the resolution of the pixel bitmap. The extremely low colour resolution was used to conserve memory, totaling