lib/carrierwave-picture/picture_converter.rb in carrierwave-picture-0.1.0 vs lib/carrierwave-picture/picture_converter.rb in carrierwave-picture-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
module PictureConverter
def self.convert(current_path)
system "convert -interlace Plane -quality 80 #{current_path} #{current_path}.webp" unless File.extname(current_path) == "webp"
- system "convert -interlace Plane -quality 80 #{current_path} #{current_path}.jpg" unless File.extname(current_path) == "jpg"
+ system "convert -interlace Plane -quality 80 #{current_path} #{current_path}.jp2" unless File.extname(current_path) == "jp2"
end
end