()
| 588 | |
| 589 | // Return the next pixel from the image |
| 590 | function nextPixel() { |
| 591 | if (remaining === 0) return EOF; |
| 592 | --remaining; |
| 593 | var pix = pixels[curPixel++]; |
| 594 | return pix & 0xff; |
| 595 | } |
| 596 | |
| 597 | function output(code, outs) { |
| 598 | cur_accum &= masks[cur_bits]; |