From c7e213a9fa693103b6adcb9cbdcde9204fa55ca0 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 24 May 2019 17:47:50 +0100 Subject: [PATCH] LinearGRAYColorspace is rather recent, it seems --- libvips/foreign/magick.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libvips/foreign/magick.c b/libvips/foreign/magick.c index b82f24fa..5119b7ed 100644 --- a/libvips/foreign/magick.c +++ b/libvips/foreign/magick.c @@ -441,8 +441,13 @@ static MagickColorspaceTypeNames magick_colorspace_names[] = { { YDbDrColorspace, "YDbDrColorspace" }, { YIQColorspace, "YIQColorspace" }, { YPbPrColorspace, "YPbPrColorspace" }, - { YUVColorspace, "YUVColorspace" }, + { YUVColorspace, "YUVColorspace" } + + /* More recent imagemagicks add these. + * { LinearGRAYColorspace, "LinearGRAYColorspace" } + * + */ }; const char *