Global attribute("read_chunk") controls how many scanlines to try reading
at a time in read_image, so it can be tuned by applications.