mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 09:20:29 -07:00
refactor: remove colorspace feature
This commit is contained in:
parent
8abe7b850c
commit
210c7b4bdc
5 changed files with 1 additions and 68 deletions
19
vips.h
19
vips.h
|
|
@ -111,25 +111,6 @@ vips_zoom_bridge(VipsImage *in, VipsImage **out, int xfac, int yfac)
|
|||
return vips_zoom(in, out, xfac, yfac, NULL);
|
||||
};
|
||||
|
||||
int
|
||||
vips_colorspace_bridge(VipsImage *in, VipsImage **out)
|
||||
{
|
||||
return vips_colourspace(in, out, VIPS_INTERPRETATION_LAB, NULL);
|
||||
};
|
||||
|
||||
int
|
||||
vips_hist_find_ndim_bridge(VipsImage *in, VipsImage **out)
|
||||
{
|
||||
return vips_hist_find_ndim(in, out, "bins", 5, NULL);
|
||||
};
|
||||
|
||||
int
|
||||
vips_max_bridge(VipsImage *in, double *out, int **x, int **y)
|
||||
{
|
||||
double ones[3] = { 1, 1, 1 };
|
||||
return vips_max(in, ones, "x", x, "y", y, NULL);
|
||||
};
|
||||
|
||||
int
|
||||
vips_embed_bridge(VipsImage *in, VipsImage **out, int left, int top, int width, int height, int extend)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue