           response.pipe stream
           response.on 'end', resolve
           response.on 'error', reject
-      .then => @_resizeAndUploadImage image.Key, description.prefix, description.formats, tmpDir
+      .then => @_resizeCompressAndUploadImage image.Key, description.prefix, description.formats,
+        tmpDir, minify
       .then (result) =>
         source = "#{description.prefix_unprocessed}/#{name}"
         target = "#{description.prefix_processed}/#{name}"

        dst: tmp_resized
        width: format.width
        height: format.height
      .then (image) =>
        @sendMetrics 'increment', 'image.resized'
        header = 'x-amz-acl': 'public-read'

Lynx = require 'lynx'
Promise = require 'bluebird'
easyimage = require 'easyimage'
Compress = require '../compress'
{CustomError} = require '../errors'
fs = Promise.promisifyAll require('fs')

