module Shrine::Plugins::StoreDimensions::ClassMethods

Defined in:

shrine/plugins/store_dimensions.cr

Instance Method Summary

Instance Method Detail

def dimensions_analyzer(name : Tools) #

Returns callable mime type analyzer object.


[View source]
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.


[View source]
def extract_dimensions(io) #

Determines the dimensions of the IO object by calling the specified analyzer.


[View source]