Start to use libvips 8.1.0+ features #152

Use native (un)premultiply

Support normalise on Windows
This commit is contained in:
Lovell Fuller
2015-11-12 22:14:53 +00:00
parent 58d9e0fef7
commit 20f468991f
6 changed files with 23 additions and 152 deletions

View File

@@ -9,16 +9,6 @@ namespace sharp {
*/
int Composite(VipsObject *context, VipsImage *src, VipsImage *dst, VipsImage **out);
/*
* Premultiply alpha channel of `image`.
*/
int Premultiply(VipsObject *context, VipsImage *image, VipsImage **out);
/*
* Unpremultiply alpha channel of `image`.
*/
int Unpremultiply(VipsObject *context, VipsImage *image, VipsImage **out);
/*
* Stretch luminance to cover full dynamic range.
*/