Module: Transformers::ImageProcessingUtils
- Defined in:
- lib/transformers/image_processing_utils.rb
Class Method Summary collapse
Class Method Details
.get_size_dict(size) ⇒ Object
54 55 56 57 58 59 60 61 |
# File 'lib/transformers/image_processing_utils.rb', line 54 def self.get_size_dict(size) if !size.is_a?(Hash) size_dict = {height: size, width: size} else size_dict = size end size_dict end |