This analyzer relies on the third-party MiniMagick gem. MiniMagick requires the ImageMagick system library.
# File activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb, line 7 def self.accept?(blob) super && ActiveStorage.variant_processor == :mini_magick end
ActiveStorage::Analyzer::ImageAnalyzer::accept?
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.