Merge pull request #105 from jibingeo/master

Fixes issue with typecast from GType to int
master
Tomás Aparicio 9 years ago committed by GitHub
commit 1278491e23

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

@ -39,6 +39,7 @@ func TestMetadata(t *testing.T) {
space string
}{
{"test.jpg", "jpeg", 0, false, false, "srgb"},
{"test_icc_prophoto.jpg", "jpeg", 0, false, true, "srgb"},
{"test.png", "png", 0, true, false, "srgb"},
{"test.webp", "webp", 0, false, false, "srgb"},
}

@ -47,7 +47,7 @@ typedef struct {
double Background[3];
} WatermarkOptions;
static int
static unsigned long
has_profile_embed(VipsImage *image) {
return vips_image_get_typeof(image, VIPS_META_ICC_NAME);
}

Loading…
Cancel
Save