Nicholas Nethercote
|
cb5bb0cec7
|
Fix mask handling when some bytes are missing.
|
11 years ago |
fkaelberer
|
eef5ed5c11
|
Optimizations for 1bpc images
|
11 years ago |
Nicholas Nethercote
|
a2fe30ff38
|
Use RGB_24BPP form for all images lacking alpha data.
|
11 years ago |
Nicholas Nethercote
|
f30babde58
|
Transfer GRAYSCALE_1BPP and RGB_24BPP arrays when possible.
|
11 years ago |
Nicholas Nethercote
|
fdb7c218da
|
Use a cache to minimize the number of Name objects.
|
11 years ago |
Nicholas Nethercote
|
42cbb5b440
|
Introduce ImageKind constants.
|
11 years ago |
Nicholas Nethercote
|
4e1f92a893
|
Clean up putBinaryImageData().
|
11 years ago |
Nicholas Nethercote
|
f62c1c469f
|
Special-case 24-bit RGB image-handling.
|
11 years ago |
Nicholas Nethercote
|
a966909754
|
Reduce memory consumption of simple black and white images.
|
11 years ago |
Nicholas Nethercote
|
0685214a77
|
Don't create the RGB buffer for images that don't need resizing.
|
11 years ago |
Nicholas Nethercote
|
c044652320
|
Remove unneeded srcOffset arguments from createRgbBuffer.
|
11 years ago |
Nicholas Nethercote
|
3de5d6ad0c
|
Don't create the opacity buffer for images that lack a mask.
|
11 years ago |
Nicholas Nethercote
|
3f533a1cb0
|
Use a more compact typed array to pass the image mask from the worker to the main thread.
|
11 years ago |
Yury Delendik
|
5bf3e44e30
|
Introduces LegacyPromise; polyfills DOM Promise
|
11 years ago |
Brendan Dahl
|
2228343f77
|
Only trigger warning bar on certain unsupported features.
|
11 years ago |
Brendan Dahl
|
5ecce4996b
|
Split files into worker and main thread pieces.
|
12 years ago |
Yury Delendik
|
419bee1314
|
Takes SMask's preblending in account
|
12 years ago |
Yury Delendik
|
339dc65082
|
Removes getImageData from canvas.js
|
12 years ago |
Brendan Dahl
|
93b99e7352
|
Fix where image component decoding takes place.
|
12 years ago |
Yury Delendik
|
5cf0d8fa80
|
Enforces maxlen for jshint
|
12 years ago |
Jon Buckley
|
f883a1f40f
|
Issue #2008 - Fix lint errors for src/image.js
|
12 years ago |
Yury Delendik
|
d71c702dcf
|
Removes "too many inline images" limit
|
13 years ago |
Yury Delendik
|
0029b34d45
|
Refactors getRgb and makeCssRgb calls; reduces amount of created objects
|
13 years ago |
Brendan Dahl
|
332ae4ce41
|
Change to the Apache v2 license.
|
13 years ago |
Brendan Dahl
|
d26ecff294
|
Reduce math for color key mask.
|
13 years ago |
Brendan Dahl
|
19fa6a5260
|
Adds support for color key mask.
|
13 years ago |
Yury Delendik
|
51b2587340
|
Copy decoded image data and keeps non-decoded pixes as transparent
|
13 years ago |
sbarman
|
5cbe3a517e
|
Undo removal of Mode line
|
13 years ago |
sbarman
|
7c48297794
|
Adding call to resolve unfulfilled promise
|
13 years ago |
sbarman
|
c900dfeced
|
Updated lint errors
|
13 years ago |
sbarman
|
dd14b3051e
|
Fix for issue #1796
|
13 years ago |
Brendan Dahl
|
2c49cab3a1
|
Fixing names.
|
13 years ago |
Kalervo Kujala
|
99440ab691
|
Refactor class method names.
Also move functionality to more logical place in canvas.js and jpx.js.
|
13 years ago |
Brendan Dahl
|
8a45177be0
|
Make Dict handle all the fetching of Refs.
|
13 years ago |
gigaherz
|
9abbce021f
|
Undo comment changes.
|
13 years ago |
gigaherz
|
c6d7e654ee
|
Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler.
|
13 years ago |
Kalervo Kujala
|
a84fbb9eb2
|
Fix a couple of closure names.
|
13 years ago |
Brendan Dahl
|
3c2a0f11b1
|
Decode more jpegs using the browser if possible.
|
13 years ago |
Brendan Dahl
|
5cfe97611f
|
Rename some variables.
|
14 years ago |
Brendan Dahl
|
db4a11e568
|
Fix comment.
|
14 years ago |
Brendan Dahl
|
03ec82ba62
|
Fix nits.
|
14 years ago |
Brendan Dahl
|
87d72023dc
|
Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc.
|
14 years ago |
Brendan Dahl
|
abad94d2b6
|
Lints.
|
14 years ago |
Brendan Dahl
|
8096d747c0
|
Fix nits.
|
14 years ago |
Brendan Dahl
|
5ad3a9cc72
|
Add basic rescale support for smacks.
|
14 years ago |
Brendan Dahl
|
ff1d804fd7
|
Move the default decode to logic to the colorspace.
|
14 years ago |
Brendan Dahl
|
55bbcbc664
|
Working improved version. Still need to refactor default decode stuff.
|
14 years ago |
Brendan Dahl
|
d76f5f6815
|
Playing with initial decode map impl.
|
14 years ago |
Brendan Dahl
|
94a48cab82
|
Address Julian's comments.
|
14 years ago |
Artur Adib
|
2113e0615e
|
Reverting error(); warn() instead of TODO()
|
14 years ago |