lib/ddr/derivatives.rb in ddr-models-1.13.2 vs lib/ddr/derivatives.rb in ddr-models-1.14.0
- old
+ new
@@ -8,11 +8,11 @@
Derivative = Struct.new(:name, :datastream, :generator, :options)
# Eventually, we should inject the generator (probably) and the options (certainly) for each derivative
# (e.g., from configuration)
- DERIVATIVES = { multires_image:
+ DERIVATIVES = { multires_image:
Derivative.new( :multires_image,
Ddr::Datastreams::MULTIRES_IMAGE,
Ddr::Derivatives::PtifGenerator,
"jpeg:90,tile:256x256,pyramid"),
thumbnail:
@@ -21,6 +21,6 @@
Ddr::Derivatives::PngGenerator,
"-resize '100x100>'")
}
end
-end
\ No newline at end of file
+end