mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 01:46:18 -07:00
feat: save a RGB colorspace
This commit is contained in:
parent
e4f822b28c
commit
941b15cd9a
2 changed files with 14 additions and 3 deletions
6
vips.h
6
vips.h
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue