Jonas Jenwald e2ea9b693c In src/core/jpg.js, ensure that the Adobe JPEG marker always takes precedence, even when the color transform code is zero
According to the PDF specification, please see http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G6.2394361, if an Adobe JPEG marker is present it should always take precedence. This even seem to be consistent with the existing comment that is present in the code.
Hence it seems reasonable to interpret `transformCode === 0` as no color conversion being necessary.

Fixes the rendering of page 1 in `issue-4926` (from the test-suite), when the built-in `src/core/jpg.js` image decoder is used.
2017-07-11 17:08:30 +02:00
..
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00
2017-07-07 09:40:24 -05:00