class Hydra::Derivatives::ImageDerivatives
Public Class Methods
processor_class()
click to toggle source
# File lib/hydra/derivatives/runners/image_derivatives.rb, line 11 def self.processor_class Processors::Image end
transform_directives(options)
click to toggle source
Adds format: 'png' as the default to each of the directives
# File lib/hydra/derivatives/runners/image_derivatives.rb, line 4 def self.transform_directives(options) options.each do |directive| directive.reverse_merge!(format: 'png') end options end