Sha256: 1b11be26da6bb2fe94097bf005efb3e089a6aa1eb2bcb89841dbb4ca0dd0737f

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

require "psd"

module PSDNative
  def self.included(base)
    base::Image.send(:include, PSDNative::ImageMode::RGB)
    base::Image.send(:include, PSDNative::ImageMode::CMYK)
    base::Image.send(:include, PSDNative::ImageMode::Greyscale)
    base::Image.send(:include, PSDNative::ImageFormat::RLE)
    base::Color.send(:include, PSDNative::Color)

    base::ClippingMask.class_eval do
      remove_method :apply
    end
    base::ClippingMask.send(:include, PSDNative::ClippingMask)
  end
end

require "psd_native/version"
require "psd_native/psd_native"
require "psd_native/compose"

PSD.send :include, PSDNative

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
psd_native-0.5.0 lib/psd_native.rb