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 z;
            while (offset < quantizationTablesEnd) {
              var quantizationTableSpec = data[offset++];
              var tableData = new Uint16Array(64);
              if (quantizationTableSpec >> 4 === 0) {
                
                for (j = 0; j < 64; j++) {
                  z = dctZigZag[j];
                  tableData[z] = data[offset++];
                }
              } else if (quantizationTableSpec >> 4 === 1) {
                
                for (j = 0; j < 64; j++) {
                  z = dctZigZag[j];
                  tableData[z] = readUint16(data, offset);
                  offset += 2;
                }
              } else {
                throw new JpegError("DQT - invalid table spec");
              }
              quantizationTables[quantizationTableSpec & 15] = tableData;
            }
            break;
          case 0xffc0: 
          case 0xffc1: 
          case 0xffc2: 
            if (frame) {
              throw new JpegError("Only single frame JPEGs supported");
            }
            offset += 2;