instance method
read_image
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v6.1.7.10 PrivateSignature
read_image()
No documentation comment.
Source
# File activestorage/lib/active_storage/analyzer/image_analyzer.rb, line 34
def read_image
download_blob_to_tempfile do |file|
require "mini_magick"
yield MiniMagick::Image.new(file.path)
end
end
Defined in activestorage/lib/active_storage/analyzer/image_analyzer.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Analyzer::ImageAnalyzer