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
constructor(msg) {
    super(`JPEG error: ${msg}`);
  }
}
class DNLMarkerError extends BaseException {
  constructor(message, scanLines) {
    super(message);
    this.scanLines = scanLines;
  }
}
class EOIMarkerError extends BaseException {}
/**
 * This code was forked from https:github.com/notmasteryet/jpgjs.
 * The original version was created by GitHub user notmasteryet.
 *
 * - The JPEG specification can be found in the ITU CCITT Recommendation T.81
 *   (www.w3.org/Graphics/JPEG/itu-t81.pdf)
 * - The JFIF specification can be found in the JPEG File Interchange Format
 *   (www.w3.org/Graphics/JPEG/jfif3.pdf)
 * - The Adobe Application-Specific JPEG markers in the
 *   Supporting the DCT Filters in PostScript Level 2, Technical Note #5116
 *   (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)
 */
var JpegImage = (function JpegImageClosure() {
  
  var dctZigZag = new Uint8Array([