Attach (recommended) or Link to PDF file here:
[Uploading index.html.pdf…]()

The original image used to create the PDF is here:
![1](https://user-images.githubusercontent.com/66191275/104105670-c22f2480-52c0-11eb-9d4f-9c63a853c6c7.jpeg)

Configuration:
I tried to display the above PDF using the viewer here: https://mozilla.github.io/pdf.js/web/viewer.html
var k = spectralStart;
      var e = spectralEnd;
      var r = 0;
      var s;
      var rs;
      while (k <= e) {
        const offsetZ = blockOffset + dctZigZag[k];
        const sign = component.blockData[offsetZ] < 0 ? -1 : 1;
        switch (successiveACState) {
          case 0: 
            rs = decodeHuffman(component.huffmanTableAC);
            s = rs & 15;
            r = rs >> 4;
            if (s === 0) {