Add checks.
Support interlaced PNG.