123456789_123456789_123456789_123456789_123456789_

Class: ActiveStorage::Analyzer::ImageAnalyzer::Vips

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/vips.rb

Overview

This analyzer relies on the third-party ruby-vips gem. Ruby-vips requires the libvips system library.

Constant Summary

Class Method Summary

Instance Method Summary

Class Method Details

.accept?(blob) ⇒ Boolean

[ GitHub ]

  
# File 'activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb', line 9

def self.accept?(blob)
  super && ActiveStorage.variant_processor == :vips
end