Class: Hydra::Derivatives::Jpeg2kImageDerivatives

Inherits:
Runner
  • Object
show all
Defined in:
lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb

Class Method Summary collapse

Methods inherited from Runner

create, source_file, transform_directives

Class Method Details

.processor_classObject

# Adds format: ‘png’ as the default to each of the directives def self.transform_directives(options)

options.each do |directive|
  directive.reverse_merge!(format: 'png')
end
options

end



12
13
14
# File 'lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb', line 12

def self.processor_class
  Processors::Jpeg2kImage
end