Class: ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
ActiveStorage::Analyzer::ImageAnalyzer
|
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.
Class Attribute Summary
::ActiveStorage::Analyzer
- Inherited
.analyze_later? | Implement this method in concrete subclasses. |
Class Method Summary
::ActiveStorage::Analyzer::ImageAnalyzer
- Inherited
::ActiveStorage::Analyzer
- Inherited
Instance Attribute Summary
::ActiveStorage::Analyzer
- Inherited
Instance Method Summary
::ActiveStorage::Analyzer::ImageAnalyzer
- Inherited
::ActiveStorage::Analyzer
- Inherited
#metadata | Override this method in a concrete subclass. |
#download_blob_to_tempfile | Downloads the blob to a tempfile on disk. |
#instrument, #logger, #tmpdir |
Constructor Details
This class inherits a constructor from ActiveStorage::Analyzer
Class Method Details
.accept?(blob) ⇒ Boolean
# File 'activestorage/lib/active_storage/analyzer/image_analyzer/image_magick.rb', line 7
def self.accept?(blob) super && ActiveStorage.variant_processor == :mini_magick end