Permalink
Commits on Feb 28, 2011
Commits on Feb 21, 2011
  1. Merge pull request #1 from doriath/oily_png

    ---
    
    When you try to save big PNG file, segmentation fault error occurs. This occurs because big array is allocated on stack and not on heap. By replacing ALLOCA_N with ALLOC_N and xfree, it is possible to save big files.
    
    The following code was not executing on my computer:
    
        require oily_png
        image = ChunkyPNG::Image.new(2100, 2100, ChunkyPNG::Color::TRANSPARENT)
        image.save("myfile.png")
    
    I didnt create any spec test because the above code took 2s to execute, and it was probably too slow for unit tests.
    wvanbergen committed Feb 21, 2011
  2. Add Color module.

    wvanbergen committed Feb 21, 2011
Commits on Jan 24, 2011
Commits on Dec 27, 2010
  1. Add a convenience class OilyPNG::Canvas in 'oily_png/canvas' if you d…

    …o not want to include the speedups in the ChunkyPNG library.
    
    This is mainly useful for testing and benchmarking.
    wvanbergen committed Dec 27, 2010
  2. Removed unused typedef.

    wvanbergen committed Dec 27, 2010
  3. Do checks on the expected value of decoding and encoding palettes bef…

    …ore using them, and make sure the decoding palette has enough entries to be able to lookup a given color index.
    wvanbergen committed Dec 27, 2010
  4. Consistency fix.

    wvanbergen committed Dec 27, 2010
  5. Clean up decoding implementation and do direct palette lookups withou…

    …t Ruby function calls during encoding and decoding
    wvanbergen committed Dec 27, 2010
Commits on Dec 19, 2010
  1. Update to latest bundler best practices.

    - Initialize bundler using require 'bundler/setup'
    - Do not include Gemfile.lock in repository.
    wvanbergen committed Dec 19, 2010
Commits on Dec 17, 2010
  1. Updated gem tasks

    wvanbergen committed Dec 17, 2010
Commits on Dec 12, 2010
  1. Revert <> usage for includes.

    wvanbergen committed Dec 12, 2010
Commits on Dec 11, 2010
Commits on Nov 2, 2010
Commits on Nov 1, 2010
  1. Added explicit gem requirements to Gemfile to make it possible to wor…

    …k with a local version of ChunkyPNG.
    wvanbergen committed Nov 1, 2010
  2. Improved testsuite.

    wvanbergen committed Nov 1, 2010