instance method
rotated_image?
Ruby on Rails 8.1.2
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 59
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 59
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::ImageAnalyzer::Vips