instance method
rotated_image?
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v6.1.7.10 PrivateSignature
rotated_image?(image)
No documentation comment.
Parameters
-
imagereq
Source
# File activestorage/lib/active_storage/analyzer/image_analyzer.rb, line 41
def rotated_image?(image)
%w[ RightTop LeftBottom ].include?(image["%[orientation]"])
end
Defined in activestorage/lib/active_storage/analyzer/image_analyzer.rb line 41
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::ImageAnalyzer