mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Move the colour conversion to jpg.js
Benchmarking shows that this improves performance for the invitation document from https://github.com/mozilla/pdf.js/issues/3809 by 35%
This commit is contained in:
parent
e7fe45a5c4
commit
e8f0700bfa
7 changed files with 243 additions and 190 deletions
|
@ -49,11 +49,11 @@ var otherFiles = [
|
|||
'core/stream.js',
|
||||
'core/worker.js',
|
||||
'core/arithmetic_decoder.js',
|
||||
'core/jpg.js',
|
||||
'core/jpx.js',
|
||||
'core/jbig2.js',
|
||||
'core/bidi.js',
|
||||
'core/murmurhash3.js',
|
||||
'../external/jpgjs/jpg.js'
|
||||
'core/murmurhash3.js'
|
||||
];
|
||||
|
||||
function loadInOrder(index, path, files) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue