Commit Graph

13 Commits

Author SHA1 Message Date
Thorben Bochenek
e7fe45a5c4 Refactor jpg.js and include forceRGBoutput, correct style of image.js
This refactors getData to be more readable and extracts all the color
conversion algorithms to their own functions. The resulting code was then
cleaned up.
This also introduces a flag `forceRGBoutput` to getData, that allows to always
get the data as a `width * height * 3` bytes long RGB buffer
2014-04-24 12:55:37 +02:00
Thorben Bochenek
7bf0987810 Fixes for small colour variations in tests
https://github.com/notmasteryet/jpgjs/pull/24
2014-03-25 19:04:02 -05:00
Thorben Bochenek
2d99ff3f37 Fix for the offByOne-error and small performance optimisations 2014-03-21 09:16:40 -05:00
Thorben Bochenek
03892a85c2 jpgjs performance improvements
see https://github.com/notmasteryet/jpgjs/pull/22
2014-03-20 18:02:08 -05:00
fkaelberer
e874b272bf jpgjs performance tuning 2014-02-18 09:24:59 -06:00
Yury Delendik
56ea1e08e6 Fixes typo in 2-component image decoding 2013-08-19 08:43:17 -05:00
Yury Delendik
5e5b66f688 Removes browser decoding optimization for JPEG CMYK 2013-07-02 09:46:14 -05:00
Yury Delendik
71c67976af Implements FFC1 marker (and syncs with jpgjs) 2013-06-25 12:35:34 -05:00
Pimm Hogeling
438e3c8f6d Fixes for subtile bugs that were introduced in 59283bdf6d and 99440ab691, among others. 2012-08-31 13:37:44 +02:00
Yury Delendik
ac0ae3e5fd Merges new jpgjs: fixes invalid JPEG marker. 2012-08-23 16:12:33 -05:00
Yury Delendik
244ce870c3 Updates jpgjs libary to the latest: component order fix 2012-04-28 08:59:05 -05:00
Brendan Dahl
b64b7d55b1 Use the updated jpgjs with faster transform. 2011-11-22 09:32:20 -08:00
Brendan Dahl
9e8d079579 Adding jpg.js back as a regular file. 2011-11-15 15:08:13 -08:00