Class: ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick
- Inherits:
-
ActiveStorage::Analyzer::ImageAnalyzer
- Object
- ActiveStorage::Analyzer
- ActiveStorage::Analyzer::ImageAnalyzer
- ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick
- Defined in:
- activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb
Overview
This analyzer relies on the third-party MiniMagick gem. MiniMagick requires the ImageMagick system library.
Instance Attribute Summary
Attributes inherited from ActiveStorage::Analyzer
Class Method Summary collapse
Methods inherited from ActiveStorage::Analyzer::ImageAnalyzer
Methods inherited from ActiveStorage::Analyzer
analyze_later?, #initialize, #metadata
Constructor Details
This class inherits a constructor from ActiveStorage::Analyzer
Class Method Details
.accept?(blob) ⇒ Boolean
7 8 9 |
# File 'activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb', line 7 def self.accept?(blob) super && ActiveStorage.variant_processor == :mini_magick end |