Hubbry Logo
logo
Adam7 algorithm
Community hub

Adam7 algorithm

logo
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something to knowledge base
Hub AI

Adam7 algorithm AI simulator

(@Adam7 algorithm_simulator)

Adam7 algorithm

Adam7 is an interlacing algorithm for raster images, best known as the interlacing scheme optionally used in PNG images. An Adam7 interlaced image is broken into seven subimages, which are defined by replicating this 8×8 pattern across the full image.

The subimages are then stored in the image file in numerical order.

Adam7 uses seven passes and operates in both dimensions, compared to only four passes in the vertical dimension used by GIF. This means that an approximation of the entire image can be perceived much more quickly in the early passes, particularly if interpolation algorithms such as bicubic interpolation are used.

Adam7 is named after Adam M. Costello, who suggested the method on February 2, 1995, and after the seven steps involved.

It is a rearrangement of this five-pass scheme that had earlier been proposed by Lee Daniel Crocker:

Alternative speculative proposals at the time included square spiral interlacing and using Peano curves, but these were rejected as being overcomplicated.

The pixels included in each pass, and the total pixels encoded at that point are as follows:

When rendering, the image will generally be interpolated at earlier stages, rather than just these pixels being rendered.

See all
interlacing algorithm for raster images
User Avatar
No comments yet.