Unless specficially requested, the output image should have the same file type as the input (JPEG -> JPEG, PNG -> PNG), everything should not be converted to PNG by default. bzr revid: xmo@openerp.com-20140317084123-wvn8r4ot79610k1r