mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
Merge pull request #320 from cgroschupp/feat/reduce-png-save-size
Reduce png size
This commit is contained in:
commit
699493f402
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),
|
||||
"compression", compression,
|
||||
"interlace", INT_TO_GBOOLEAN(interlace),
|
||||
"filter", VIPS_FOREIGN_PNG_FILTER_NONE,
|
||||
"filter", VIPS_FOREIGN_PNG_FILTER_ALL,
|
||||
NULL
|
||||
);
|
||||
#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)
|
||||
{
|
||||
return vips_gamma(in, out, "exponent", 1.0 / exponent, NULL);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue