Commit Graph

47 Commits

Author SHA1 Message Date
Yury Delendik
5cf0d8fa80 Enforces maxlen for jshint 2013-02-02 16:49:19 -06:00
Jon Buckley
f883a1f40f Issue #2008 - Fix lint errors for src/image.js 2013-01-31 19:12:45 -05:00
Yury Delendik
d71c702dcf Removes "too many inline images" limit 2012-12-07 12:19:43 -06:00
Yury Delendik
0029b34d45 Refactors getRgb and makeCssRgb calls; reduces amount of created objects 2012-11-29 17:11:51 -06:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Brendan Dahl
d26ecff294 Reduce math for color key mask. 2012-08-29 09:36:12 -07:00
Brendan Dahl
19fa6a5260 Adds support for color key mask. 2012-08-28 17:19:31 -07:00
Yury Delendik
51b2587340 Copy decoded image data and keeps non-decoded pixes as transparent 2012-08-20 15:57:21 -05:00
sbarman
5cbe3a517e Undo removal of Mode line 2012-06-13 16:09:57 -07:00
sbarman
7c48297794 Adding call to resolve unfulfilled promise 2012-06-11 15:05:06 -07:00
sbarman
c900dfeced Updated lint errors 2012-06-11 14:57:58 -07:00
sbarman
dd14b3051e Fix for issue #1796 2012-06-08 22:42:56 -07:00
Brendan Dahl
2c49cab3a1 Fixing names. 2012-04-12 12:11:22 -07:00
Yury Delendik
cea388201d Merge remote-tracking branch 'mozilla/master' into mergexref-1
Conflicts:
	src/core.js
	src/evaluator.js
	src/obj.js
2012-04-05 10:03:49 -05:00
Kalervo Kujala
99440ab691 Refactor class method names.
Also move functionality to more logical place in canvas.js and jpx.js.
2012-04-04 23:43:26 +03:00
Brendan Dahl
8a45177be0 Make Dict handle all the fetching of Refs. 2012-04-04 11:43:04 -07:00
Kalervo Kujala
a84fbb9eb2 Fix a couple of closure names. 2012-03-27 14:27:49 +03:00
Brendan Dahl
3c2a0f11b1 Decode more jpegs using the browser if possible. 2012-01-03 14:26:19 -08:00
Brendan Dahl
5cfe97611f Rename some variables. 2011-12-19 16:31:47 -08:00
Brendan Dahl
db4a11e568 Fix comment. 2011-12-19 14:58:01 -08:00
Brendan Dahl
03ec82ba62 Fix nits. 2011-12-18 17:29:08 -08:00
Brendan Dahl
87d72023dc Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc. 2011-12-18 17:18:36 -08:00
Brendan Dahl
abad94d2b6 Lints. 2011-12-15 16:30:51 -08:00
Brendan Dahl
01e876f014 Merge remote-tracking branch 'origin/decodemap' into smaskscale 2011-12-15 15:20:36 -08:00
Brendan Dahl
8096d747c0 Fix nits. 2011-12-15 15:13:48 -08:00
Brendan Dahl
5ad3a9cc72 Add basic rescale support for smacks. 2011-12-14 12:27:56 -08:00
Brendan Dahl
ff1d804fd7 Move the default decode to logic to the colorspace. 2011-12-13 14:35:46 -08:00
Brendan Dahl
55bbcbc664 Working improved version. Still need to refactor default decode stuff. 2011-12-13 13:53:22 -08:00
Brendan Dahl
d76f5f6815 Playing with initial decode map impl. 2011-12-13 08:48:27 -08:00
Brendan Dahl
94a48cab82 Address Julian's comments. 2011-12-12 15:09:05 -08:00
Brendan Dahl
948de2bdbe Remove some unintended changes. 2011-12-12 09:53:31 -08:00
Brendan Dahl
176452c988 Style nits. 2011-12-12 09:26:24 -08:00
Brendan Dahl
4c01766278 Merge upstream. 2011-12-11 21:13:53 -08:00
Brendan Dahl
683f64d54f Use promises to track completion of decoding. 2011-12-11 16:56:45 -08:00
Brendan Dahl
7d1cddf371 Add ability to fast track natively supported jpegs. 2011-12-08 21:18:04 -08:00
Kalervo Kujala
cd01302de8 Merge remote-tracking branch 'upstream/master' into style
Conflicts:
	src/image.js
	src/pattern.js
2011-12-09 00:28:31 +02:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Brendan Dahl
f7207a51f8 Fix missing bracket. 2011-12-08 12:54:02 -08:00
Brendan Dahl
146cd8c861 Second stage, smasks now working. Still needs optimization. 2011-12-08 12:50:34 -08:00
Brendan Dahl
2a632d4ab2 First stage of trying to support smasks on native jpegs. 2011-12-07 15:36:27 -08:00
Julian Viereck
af8e2a1189 Address review comments by yury 2011-12-07 19:07:00 +01:00
Julian Viereck
97802aac64 Inline JpegImageLoader to remove new JpegImageLoader call 2011-12-05 17:59:03 +01:00
Brendan Dahl
9bb2b881b0 Adds cmyk jpg support. Treats the cmyk jpg as a regular stream. 2011-11-08 08:48:10 -08:00
Kalervo Kujala
11098d66dc Name anonymous functions in image.js. 2011-10-30 13:07:38 +02:00
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00
Artur Adib
e71b6188c6 'use strict' everywhere 2011-10-25 18:18:22 -07:00
Artur Adib
a7278b7fbc Splitting files 2011-10-24 16:55:23 -07:00