codedDataToRGBA(dstArrayBuffer, jpegOutputData, dataSet)

              console.log(`Decoded image size is ${jpegOutputData.width}x${jpegOutputData.height}`)

              const pixels = new Uint8ClampedArray(dstArray);
              const imageData = new ImageData(pixels, jpegOutputData.width, jpegOutputData.height)

              let canvas = document.getElementById("image-canvas")
              canvas.width = jpegOutputData.width
              canvas.height = jpegOutputData.height
              const ct