instance method rotated_image?

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v6.1.7.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10

Signature

rotated_image?(image)

No documentation comment.

Parameters

image req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close