lib/bulldog/processor/image_magick.rb in bulldog-0.0.12 vs lib/bulldog/processor/image_magick.rb in bulldog-0.0.13
- old
+ new
@@ -107,9 +107,10 @@
def add_final_style_arguments
styles.each do |style|
@tree.add(style, ['-quality', style[:quality].to_s]) if style[:quality]
@tree.add(style, ['-colorspace', style[:colorspace]]) if style[:colorspace]
+ @tree.add(style, ['-strip']) if style[:stripped]
path = output_file(style.name)
FileUtils.mkdir_p(File.dirname(path))
@tree.output(style, path)
end
end