[FIX] keep image type intact during resize
authorXavier Morel <xmo@openerp.com>
Mon, 17 Mar 2014 08:41:23 +0000 (09:41 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 17 Mar 2014 08:41:23 +0000 (09:41 +0100)
commit2688ac29a0ac6479f317fea4c4ba1f397ebfb0f3
treed9c8d928a2629be12e90dd358e2b7886150afa58
parent7c8e468dee28aacd19c6a0a3299f7d8788caf09e
[FIX] keep image type intact during resize

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
openerp/tools/image.py