Class: Hydra::Derivatives::Jpeg2kImageDerivatives
- Defined in:
- lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb
Class Method Summary collapse
-
.processor_class ⇒ Object
# 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.
Methods inherited from Runner
create, output_file_service, output_file_service=, source_file, source_file_service, source_file_service=, transform_directives
Class Method Details
.processor_class ⇒ Object
# Adds format: ‘png’ as the default to each of the directives def self.transform_directives(options)
.each do |directive|
directive.reverse_merge!(format: 'png')
end
end
11 12 13 |
# File 'lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb', line 11 def self.processor_class Processors::Jpeg2kImage end |