﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2454	image_filter resize is not working correctly with some PNG files.(nginx is changing background color)	walidlaggoune159@…		"Hello, this is my configuration for image resizing 



{{{
location ~ (?<width>\d+)\/storage\/(?<folder>.+)\/(?<image>.+)$ {
    alias /var/www/html/web/storage/app/public/$folder/$image;
    image_filter resize $width $width;
    image_filter_jpeg_quality 80;
    image_filter_buffer 20M;
}
}}}

----

before resize : 
[[Image(https://preview.redd.it/pysc1bturyfa1.png?width=600&format=png&auto=webp&v=enabled&s=40849fda3d0835f3969028d240820061e668c52d)]]

After resize:
[[Image(https://preview.redd.it/w2ku9mvzryfa1.png?width=150&format=png&auto=webp&v=enabled&s=5b4406c6a180f50a1032355d13ac7f68be28c793)]]"	defect	new	minor		nginx-module	1.23.x		image resize, image filter	walidlaggoune159@…	Linux 5fc57c61112f 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 GNU/Linux	nginx version: nginx/1.23.2
