Supporting PNG scanline filter 0 and 1