Skip to content

Commit

Permalink
Merge pull request #320 from cgroschupp/feat/reduce-png-save-size
Browse files Browse the repository at this point in the history
Reduce png size
  • Loading branch information
h2non authored Feb 11, 2020
2 parents c4e3bee + b46e689 commit 699493f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vips.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 699493f

Please sign in to comment.