Files
Jonas Jenwald 75ceea3a0f [api-major] Remove the standalone image_decoders build
This is removed now, since:
 - There's most likely very few users of it, since we've only ever seen a handful of questions/issues regarding it over the eight years it has existed.
   Few issues could obviously mean that everything just works, but that explanation seems quite unlikely given the experience from the PDF.js project as a whole.

 - The JBig2 and JPEG 2000 image decoders are unlikely to still work, ever since the old JavaScript decoders were replaced with WebAssembly ones.
   However, there has been no discussions/issues opened about this.

 - The Wasm decoders are built specifically for the PDF.js use-case, and the kind of images contained in PDFs, and may not be well suited for general JBig2 and JPEG 2000 images.

  - The PDF.js JPEG decoder is still implemented in JavaScript, however in browsers it can largely be replaced by the native `ImageDecoder` API.
    In Node.js environments that functionality could be polyfilled e.g. with the `@napi-rs/webcodecs` NPM package.

 - This way we slightly simplify the PDF.js image handling code and the build-system.

 - If such a build-target was proposed today, I cannot see that we'd actually consider adding it.

*Note:* Any users of the standalone `image_decoders` build can most likely just stay on an older (and working) version.
2026-11-04 13:33:09 +01:00
..