lib/psd_native.rb in psd_native-0.2.0 vs lib/psd_native.rb in psd_native-0.3.0
- old
+ new
@@ -1,14 +1,15 @@
require "psd"
-require "psd_native/version"
-require "psd_native/psd_native"
module PSDNative
def self.included(base)
base::Image.send(:include, PSDNative::ImageMode::RGB)
-
- # Disabled until optimized
+ base::Image.send(:include, PSDNative::ImageMode::CMYK)
base::Image.send(:include, PSDNative::ImageFormat::RLE)
end
end
+
+require "psd_native/version"
+require "psd_native/psd_native"
+require "psd_native/color"
PSD.send :include, PSDNative
\ No newline at end of file