pdf.js/test
Jonas Jenwald a494e33776 Update JpegImage.getData to support forceRGBoutput for images with numComponents === 1 (issue 6066)
*A more robust solution for issue 6066.*

As a temporary work-around for (the upstream) [bug 1164199](https://bugzilla.mozilla.org/show_bug.cgi?id=1164199), we parsed *all* images in the Firefox addon during a short time.
Doing so uncovered an issue with our image handling (see 6066), for JPEG images with a `DeviceGray` ColorSpace *and* `bpc !== 1` (bits per component).

As long as we let the browser handle image decoding in this case, this isn't going to be an issue, but I do think that we should proactively fix this to avoid future issues if we change where the images are decoded (in `jpg.js` vs in browser).
Also, we currently don't seem to have a test-case for that kind of image data.
2016-02-18 10:12:37 +01:00
..
features Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
font Use RequireJS in the viewer, examples and tests. 2015-12-29 09:20:52 -06:00
pdfs Update JpegImage.getData to support forceRGBoutput for images with numComponents === 1 (issue 6066) 2016-02-18 10:12:37 +01:00
resources Remove 'use strict'; causing failure and unused prefs. 2016-01-14 13:23:48 -08:00
stats cleaned whitespace 2015-02-17 11:07:37 -05:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit [api-minor] Change getOutline to actually return the RGB color of outline items 2016-02-15 13:41:22 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
annotation_layer_test.css Merge pull request #6807 from timvandermeij/popup-annotation-hidden 2015-12-28 22:58:41 +01:00
downloadutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
driver.js Implement annotation layer regression testing 2015-12-20 13:45:56 +01:00
test_manifest.json Update JpegImage.getData to support forceRGBoutput for images with numComponents === 1 (issue 6066) 2016-02-18 10:12:37 +01:00
test_slave.html Use RequireJS in the viewer, examples and tests. 2015-12-29 09:20:52 -06:00
test.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
testutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
text_layer_test.css Better "text" testing. 2015-11-19 11:03:52 -06:00
webbrowser.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
webserver.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30