pdf.js/examples/image_decoders
Jonas Jenwald 663922f93f Add a new parameter to JpegImage.getData to indicate the source of the image data (issue 9513)
The purpose of this patch is to provide a better default behaviour when `JpegImage` is used to parse standalone JPEG images with CMYK colour spaces.
Since the issue that the patch concerns is somewhat of a special-case, the implementation utilizes the already existing decode support in an attempt to minimize the impact w.r.t. code size.

*Please note:* It's always possible for the user of `JpegImage` to control image inversion, and thus override the new behaviour, by simply passing a custom `decodeTransform` array upon initialization.
2018-09-02 14:15:22 +02:00
..
fish.jpg Add a basic JpegImage example using the standalone image decoders 2018-06-16 17:56:54 +02:00
jpeg_viewer.html Add a basic JpegImage example using the standalone image decoders 2018-06-16 17:56:54 +02:00
jpeg_viewer.js Add a new parameter to JpegImage.getData to indicate the source of the image data (issue 9513) 2018-09-02 14:15:22 +02:00