module Shrine::Plugins::StoreDimensions::ClassMethods
Defined in:
shrine/plugins/store_dimensions.crInstance Method Summary
-
#dimensions_analyzer(name : Tools)
Returns callable mime type analyzer object.
-
#dimensions_analyzers
Returns a hash of built-in MIME type analyzers, where keys are analyzer names and values are
#call
-able objects which accepts the IO object. -
#extract_dimensions(io)
Determines the dimensions of the IO object by calling the specified analyzer.
Instance Method Detail
def dimensions_analyzers
#
Returns a hash of built-in MIME type analyzers, where keys are
analyzer names and values are #call
-able objects which accepts the
IO object.
def extract_dimensions(io)
#
Determines the dimensions of the IO object by calling the specified analyzer.