1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-18 11:12:10 +02:00

Use adaptive filter for full-color PNGs

This commit is contained in:
DarthSim 2022-11-22 18:50:33 +06:00
parent e43cb2cb51
commit fb330da045

View File

@ -647,7 +647,7 @@ vips_pngsave_go(VipsImage *in, void **buf, size_t *len, int interlace, int quant
if (!quantize)
return vips_pngsave_buffer(
in, buf, len,
"filter", VIPS_FOREIGN_PNG_FILTER_NONE,
"filter", VIPS_FOREIGN_PNG_FILTER_ALL,
"interlace", interlace,
NULL
);