Commit b022e370 authored by Sebastien Robin's avatar Sebastien Robin

Revert "use sRGB colorspace instead of RGB in image conversion."

This reverts commit a4072868.
=> it makes test testERP5WebWithDms failing. Please update unit
test and also add test to check what you fixed with this change.
parent 16dbf2c3
......@@ -320,7 +320,7 @@ class Image(TextConvertableMixin, File, OFSImage):
def _resize(self, quality, width, height, format, resolution, frame):
"""Resize and resample photo."""
parameter_list = ['convert', '-colorspace', 'sRGB',
parameter_list = ['convert', '-colorspace', 'RGB',
'-quality', str(quality),
'-geometry', '%sx%s' % (width, height)]
if format not in VALID_TRANSPARENT_IMAGE_FORMAT_LIST:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment