Permalink
Switch branches/tags
Nothing to show
Commits on Mar 9, 2015
  1. Merge pull request #38 from yurydelendik/master

    Using source code from the pdf.js; adds jbig2/jpx parsers.
    yurydelendik committed Mar 9, 2015
Commits on Oct 6, 2014
  1. Merge pull request #30 from devongovett/patch-1

    Fix variable name passed to parse from load
    yurydelendik committed Oct 6, 2014
Commits on Oct 4, 2014
  1. Fix variable name passed to parse from load

    Fixes the demo page. The bug was introduced by f9b04d7.
    devongovett committed Oct 4, 2014
Commits on Aug 14, 2014
  1. Merge pull request #29 from Pomax/patch-1

    allows jpgjs to deal with datauri images
    yurydelendik committed Aug 14, 2014
Commits on Apr 3, 2014
  1. Merge pull request #25 from p01/micro_optimized_conversions

    Micro optimized YCbCr -> RGB/CMY and CMYK -> RGB
    yurydelendik committed Apr 3, 2014
Commits on Mar 27, 2014
  1. Micro optimized YCbCr -> RGB/CMY and CMYK -> RGB

    Also rolled back to clampToUint8 because we only use Uint8Arrays
    p01 committed Mar 27, 2014
Commits on Mar 26, 2014
  1. Merge pull request #24 from bthorben/performance

    Fixes for small colour variations in tests
    yurydelendik committed Mar 26, 2014
Commits on Mar 25, 2014
  1. Produce less garbage by using one big lineData buffer and reusing thi…

    …s for every component
    bthorben committed Mar 25, 2014
  2. Rename component.blocks to component.blockData, as this holds block d…

    …ata now
    
    and only indirectly blocks
    bthorben committed Mar 25, 2014
  3. Use the same buffer for block data inside the components and the outp…

    …ut after
    
    quantisation and inversion.
    
    This will make getData() a bit more expensive when done repeatedly for different
    sizes, but I would guess this is not a common usecase anyway.
    
    Benchmarking on big images shows that this is 20% faster.
    bthorben committed Mar 25, 2014
Commits on Mar 21, 2014
  1. Fixes for small colour variations in tests

    * Most uses of clampTo8Bit actually didn't want 8-bit integers, but just a clamp
      between 0 and 255. There are now two functions. quantizeAndInverse says in its
      comments that these integers are needed, so small colour variations in the
      tests for this cases are expected
    * The outputBuffer for quantizeAndInverse was changed back to Int32 to allow
      greater precision in the calculations
    bthorben committed Mar 21, 2014
  2. Merge pull request #23 from bthorben/performance

    Fix and Performance
    yurydelendik committed Mar 21, 2014
  3. Fix offByOne-error

    This fix works, but I didn't find the root cause. I can find nothing wrong with
    my array to buffer transformation, but somewhere blocksPerLine is not correctly
    used. I guess the transformation revealed this error. For now, this is better
    than nothing, but the cause should be found and eliminated
    bthorben committed Mar 21, 2014
  4. Don't push in hot code

    bthorben committed Mar 21, 2014
Commits on Mar 20, 2014
  1. Merge pull request #22 from bthorben/performance

    Performance Improvements
    yurydelendik committed Mar 20, 2014
  2. Cleanup frame.component

    by making it an array and introducing a map from componentId to index
    bthorben committed Mar 20, 2014
  3. Move quantizeAndInverse out of buildComponentData

    Benchmarking shows that this gives a 10% performance boost
    bthorben committed Mar 20, 2014
  4. Prevent extensive garbage collection

    The root cause for this patch was prepareComponents() creating a lot of garbage
    by recreating the row-array many times. This patch changes this behaviour by
    allocating just one big block as a buffer and then accessing it accordingly.
    
    Benchmarking with big images shows an performance improvement of 65 - 75%
    bthorben committed Mar 20, 2014
  5. Remove unncesssary frames[] array

    JPG.js cannot handle more than one frame anyway
    bthorben committed Mar 20, 2014
Commits on Feb 18, 2014
  1. Merge pull request #21 from yurydelendik/nit1

    Fixes few nits/eol spaces
    committed Feb 18, 2014
  2. Fixes few nits/eol spaces

    yurydelendik committed Feb 18, 2014
  3. Merge pull request #20 from fkaelberer/performanceTuning

    Slightly shorter / slightly faster
    committed Feb 18, 2014
Commits on Jan 10, 2014
  1. SlightPerformanceTuning

    fkaelberer committed Jan 10, 2014
Commits on Aug 19, 2013
Commits on Jun 25, 2013
  1. Merge pull request #15 from yurydelendik/ffc1

    Adds FFC1 marker support
    committed Jun 25, 2013
  2. Merge pull request #16 from yurydelendik/clamp

    Subset of (pdf.js/438e3c8f6d2bd5a: Fixes for subtile bugs).
    committed Jun 25, 2013
  3. Adds FFC1 marker support

    yurydelendik committed Jun 25, 2013
Commits on Oct 24, 2012
  1. Merge pull request #14 from yurydelendik/master

    Adds support for two components images
    committed Oct 24, 2012
  2. Add two components support

    yurydelendik committed Oct 24, 2012
Commits on Aug 23, 2012
  1. Merge pull request #12 from yurydelendik/pdfjs-1877

    Fixes JPEG incorrectly encoded data; reading of DQT table
    committed Aug 23, 2012