MCPcopy
hub / github.com/chjj/ttystudio / nextPixel

Function nextPixel

lib/gif.js:590–595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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];

Callers 1

compressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected