pdf.js/src
Jonas Jenwald 722e5910e1 Improve handling of JPEG images with non-standard /Decode-entries (issue 16395)
The /Decode-implementation in the our JPEG decoder, i.e. `src/core/jpg.js`, seems to only handle *inverting* of images properly. To support arbitrary /Decode-entries correctly we'll always use the `PDFImage.decodeBuffer` method, even for "simple" JPEG images, which should be fine since non-default /Decode-entries aren't a very common occurrence.

*Please note:* This patch will lead to a little bit of movement in some existing test-cases, however it should be virtually imperceivable to the naked eye.
2023-05-06 13:55:39 +02:00
..
core Improve handling of JPEG images with non-standard /Decode-entries (issue 16395) 2023-05-06 13:55:39 +02:00
display [Annotations] Draw readonly annotations on their own canvas and show the HTML elements when there is a JS interaction (issue #16384) 2023-05-04 20:08:32 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Enable the unicorn/prefer-string-replace-all ESLint plugin rule 2023-03-23 12:57:10 +01:00
shared Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header_libre.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
license_header.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
pdf.image_decoders.js Fix the Jbig2Image export for the gulp image_decoders build (PR 9729 follow-up, issue 13367) 2021-05-12 19:41:29 +02:00
pdf.js Change the createPromiseCapability helper function into a PromiseCapability class 2023-04-29 13:43:24 +02:00
pdf.sandbox.external.js ESMify some modules for m-c (bug 1824610) 2023-03-27 12:01:31 +02:00
pdf.sandbox.js Stop using the PRODUCTION build-target in the JavaScript code 2023-04-17 12:04:34 +02:00
pdf.scripting.js Tweak the pdf.scripting.js bundling, to improve overall consistency 2020-10-25 16:36:56 +01:00
pdf.worker.entry.js Update the year in the license_header files 2022-01-27 19:24:31 +01:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00