instance method
angle
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
angle()
No documentation comment.
Source
# File activestorage/lib/active_storage/analyzer/video_analyzer.rb, line 55
def angle
if tags["rotate"]
Integer(tags["rotate"])
elsif side_data && side_data[0] && side_data[0]["rotation"]
Integer(side_data[0]["rotation"])
end
end
Defined in activestorage/lib/active_storage/analyzer/video_analyzer.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::VideoAnalyzer