Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one.