﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1343	ngx_http_image_filter_module loses colour profile information during resizes	azavisha@…		"All of my images after being resized by this module lose information about their colour profile. This is a serious problem for an image manipulation module. Because of this, images can look too saturated or too pale depending on the device and browser of the end user.

For example, one of my original images has this EXIF parameter: kMDItemProfileName = ""sRGB IEC61966-2.1"". But it is not set in the resulting image after being resized by the NGINX module.

I use the following 4 configuration parameters for the module:

image_filter_buffer 10M;
image_filter_jpeg_quality 90;
image_filter_sharpen 10;
image_filter resize $arg_size $arg_size;

NGINX version: 1.10.3 (custom build)

Related bug report for GD library (not their fault): https://github.com/libgd/libgd/issues/136

I think you need to add additional step add manually read the old colour profile if set and write it to the new image manually. You cannot rely on GD to do this automatically. See the bottom of that related bug report page for details. This is my understanding.

Thank you!"	defect	closed	major		nginx-module	1.13.x	wontfix	color profile, colour profile, ICC, image filter module		can provide this only via private message or email	can provide this only via private message or email
