Class: ActiveAnalysis::Analyzer::ImageAnalyzer::Vips

Inherits:
ActiveAnalysis::Analyzer::ImageAnalyzer show all
Defined in:
lib/active_analysis/analyzer/image_analyzer/vips.rb

Overview

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

Class Method Summary collapse

Methods inherited from ActiveAnalysis::Analyzer::ImageAnalyzer

#metadata

Class Method Details

.accept?(blob) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/active_analysis/analyzer/image_analyzer/vips.rb', line 9

def self.accept?(blob)
  super && ActiveAnalysis.image_library == :vips
end