Sha256: c8672600fbdac9d6f48a25e41934eb248df28f542e03fa2ad19aa065b4f851a0

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

require 'chunky_png'

module OilyPNG
  
  VERSION = "1.0.3"

  def self.included(base)
    base::Canvas.send(:extend, OilyPNG::PNGDecoding)
    base::Canvas.send(:include, OilyPNG::PNGEncoding)


    base::Color.send(:include, OilyPNG::Color)
    
    base::Color.extend OilyPNG::Color
    base::Canvas.send(:include, OilyPNG::Resampling)
  end
end

require 'oily_png/oily_png'
require 'oily_png/canvas'

# Include mixin into ChunkyPNG
ChunkyPNG.send(:include, OilyPNG)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oily_png-1.0.3 lib/oily_png.rb