instance method
rotated_image?
Ruby on Rails edge
Since v7.0.10 Private — implementation detail, not part of the public APISignature
rotated_image?(image)
No documentation comment.
Parameters
-
imagereq
Source
# File activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb, line 49
def rotated_image?(image)
AXIS_SWAPPING_ORIENTATIONS.cover?(image.get("orientation"))
rescue ::Vips::Error
false
end
Defined in activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::ImageAnalyzer::Vips