lib/image_optim/worker/jhead.rb in image_optim-0.13.3 vs lib/image_optim/worker/jhead.rb in image_optim-0.14.0
- old
+ new
@@ -1,14 +1,19 @@
require 'image_optim/worker'
require 'exifr'
class ImageOptim
class Worker
+ # http://www.sentex.net/~mwandel/jhead/
+ #
+ # Jhead internally uses jpegtran which should be on path
class Jhead < Worker
+ # Works on jpegs
def image_formats
[:jpeg]
end
+ # Run first [-10]
def run_order
-10
end
def optimize(src, dst)