mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
refactor(#47): minor refactors, code normalization and test coverage
This commit is contained in:
parent
6edd96ee41
commit
ed4faadba6
10 changed files with 309 additions and 92 deletions
11
vips.h
11
vips.h
|
|
@ -134,6 +134,17 @@ vips_extract_area_bridge(VipsImage *in, VipsImage **out, int left, int top, int
|
|||
return vips_extract_area(in, out, left, top, width, height, NULL);
|
||||
};
|
||||
|
||||
int
|
||||
vips_colourspace_issupported_bridge(VipsImage *in)
|
||||
{
|
||||
return vips_colourspace_issupported(in) ? 1 : 0;
|
||||
};
|
||||
|
||||
VipsInterpretation
|
||||
vips_image_guess_interpretation_bridge(VipsImage *in) {
|
||||
return vips_image_guess_interpretation(in);
|
||||
};
|
||||
|
||||
int
|
||||
vips_colourspace_bridge(VipsImage *in, VipsImage **out, VipsInterpretation space)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue