mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 07:28:44 -07:00
Add support for colourspace (fix #45)
This commit is contained in:
parent
5874efef3e
commit
8a2b991ce8
7 changed files with 41 additions and 3 deletions
4
vips.h
4
vips.h
|
|
@ -135,9 +135,9 @@ vips_extract_area_bridge(VipsImage *in, VipsImage **out, int left, int top, int
|
|||
};
|
||||
|
||||
int
|
||||
vips_colourspace_bridge(VipsImage *in, VipsImage **out)
|
||||
vips_colourspace_bridge(VipsImage *in, VipsImage **out, VipsInterpretation space)
|
||||
{
|
||||
return vips_colourspace(in, out, VIPS_INTERPRETATION_sRGB, NULL);
|
||||
return vips_colourspace(in, out, space, NULL);
|
||||
};
|
||||
|
||||
gboolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue