mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-11 00:10:27 -07:00
Use vips reduce when downscaling
This commit is contained in:
parent
878125c410
commit
dc3286965b
3 changed files with 22 additions and 1 deletions
5
vips.h
5
vips.h
|
|
@ -122,6 +122,11 @@ vips_shrink_bridge(VipsImage *in, VipsImage **out, double xshrink, double yshrin
|
|||
return vips_shrink(in, out, xshrink, yshrink, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
vips_reduce_bridge(VipsImage *in, VipsImage **out, double xshrink, double yshrink) {
|
||||
return vips_reduce(in, out, xshrink, yshrink, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
vips_type_find_bridge(int t) {
|
||||
if (t == GIF) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue