feat: save a RGB colorspace

This commit is contained in:
Tomas Aparicio 2015-06-13 20:16:28 +01:00
parent e4f822b28c
commit 941b15cd9a
2 changed files with 14 additions and 3 deletions

6
vips.h
View file

@ -129,6 +129,12 @@ 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_bridge(VipsImage *in, VipsImage **out)
{
return vips_colourspace(in, out, VIPS_INTERPRETATION_sRGB, NULL);
};
gboolean
with_interlace(int interlace) {
return interlace > 0 ? TRUE : FALSE;