Module: Technoweenie::AttachmentFu::Processors::ImageScienceProcessor::ClassMethods

Defined in:
lib/technoweenie/attachment_fu/processors/image_science_processor.rb

Instance Method Summary collapse

Instance Method Details

#with_image(file, &block) ⇒ Object

Yields a block containing an Image Science image for the given binary data.



13
14
15
# File 'lib/technoweenie/attachment_fu/processors/image_science_processor.rb', line 13

def with_image(file, &block)
  ::ImageScience.with_image file, &block
end