Refactoring of Image conversion.
* use DEFAULT_QUALITY constant * Postpone the test off relevance conversion parameters in order to check if resizing is not needed to fit display ratio. If test succeed then call convert, otherwise return raw image (getData). * remove _getDisplayPhoto and merge is code inside _makeDisplayPhoto because this method is called from only one statement and factorisation is null git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35240 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment