mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-16 02:45:54 -07:00
use VIPS_FOREIGN_PNG_FILTER_ALL in vips_pngsave_bridge
This commit is contained in:
parent
c4e3beed52
commit
b46e689133
1 changed files with 2 additions and 2 deletions
4
vips.h
4
vips.h
|
|
@ -305,7 +305,7 @@ vips_pngsave_bridge(VipsImage *in, void **buf, size_t *len, int strip, int compr
|
||||||
"strip", INT_TO_GBOOLEAN(strip),
|
"strip", INT_TO_GBOOLEAN(strip),
|
||||||
"compression", compression,
|
"compression", compression,
|
||||||
"interlace", INT_TO_GBOOLEAN(interlace),
|
"interlace", INT_TO_GBOOLEAN(interlace),
|
||||||
"filter", VIPS_FOREIGN_PNG_FILTER_NONE,
|
"filter", VIPS_FOREIGN_PNG_FILTER_ALL,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
|
|
@ -596,4 +596,4 @@ int vips_find_trim_bridge(VipsImage *in, int *top, int *left, int *width, int *h
|
||||||
int vips_gamma_bridge(VipsImage *in, VipsImage **out, double exponent)
|
int vips_gamma_bridge(VipsImage *in, VipsImage **out, double exponent)
|
||||||
{
|
{
|
||||||
return vips_gamma(in, out, "exponent", 1.0 / exponent, NULL);
|
return vips_gamma(in, out, "exponent", 1.0 / exponent, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue