instance method
rotated_image?
Ruby on Rails 7.1.6
Since v7.0.10 PrivateSignature
rotated_image?(image)
No documentation comment.
Parameters
-
imagereq
Source
# File activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb, line 38
def rotated_image?(image)
ROTATIONS === image.get("exif-ifd0-Orientation")
rescue ::Vips::Error
false
end
Defined in activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::ImageAnalyzer::Vips