Method: Paperclip::Geometry.parse

Defined in:
lib/paperclip/geometry.rb

.parse(string) ⇒ Object

Extracts the Geometry from a “WxH,O” string Where W is the width, H is the height, and O is the EXIF orientation



31
32
33
# File 'lib/paperclip/geometry.rb', line 31

def self.parse(string)
  GeometryParser.new(string).make
end