lib/ddr/derivatives/generators/png_generator.rb in ddr-models-3.0.0.beta.3 vs lib/ddr/derivatives/generators/png_generator.rb in ddr-models-3.0.0.beta.4
- old
+ new
@@ -11,10 +11,10 @@
def self.output_extension
"png"
end
def generate(source_path, output_path)
- command = "convert #{source_path} #{options} png:#{output_path}"
+ command = "convert #{source_path}[0] #{options} png:#{output_path}"
out, err, s = Open3.capture3(command)
GeneratorResult.new(output_path, out, err, s)
end
end