lib/image_optim/worker/jhead.rb in image_optim-0.26.2 vs lib/image_optim/worker/jhead.rb in image_optim-0.26.3
- old
+ new
@@ -23,9 +23,10 @@
[:jhead, :jpegtran]
end
def optimize(src, dst)
return false unless oriented?(src)
+
src.copy(dst)
args = %W[
-autorot
#{dst}
]