Skip to Content Skip to Search
v7.1.0
class ActiveStorage::Vips < ActiveStorage::Analyzer::ImageAnalyzer

ActiveStorage::Analyzer::ImageAnalyzer::Vips

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

Methods
A

Constants

ROTATIONS = /Right-top|Left-bottom|Top-right|Bottom-left/
 

Public class methods

accept?(blob)

Permalink
Source code GitHub
# File activestorage/lib/active_storage/analyzer/image_analyzer/vips.rb, line 7
def self.accept?(blob)
  super && ActiveStorage.variant_processor == :vips
end
Definition files