--- jmagick/src/magick/magick_MagickImage.c 2023-10-19 12:32:54.667772708 +0200 +++ jmagick/src/magick/magick_MagickImage.c 2023-10-19 12:45:14.771952474 +0200 @@ -970,7 +970,7 @@ } exception=AcquireExceptionInfo(); - newImage = ColorizeImage(image, cstrOpacity, &pixel, exception); + newImage = ColorizeImage(image, cstrOpacity, pixel, exception); (*env)->ReleaseStringUTFChars(env, opacity, cstrOpacity); if (newImage == NULL) { throwMagickApiException(env, "Unable to colorize image", exception); @@ -2604,7 +2604,6 @@ case 22: colorspaceEnum = scRGBColorspace; break; case 23: colorspaceEnum = sRGBColorspace; break; case 24: colorspaceEnum = TransparentColorspace; break; - case 25: colorspaceEnum = xyYColorspace; break; case 26: colorspaceEnum = XYZColorspace; break; case 27: colorspaceEnum = YCbCrColorspace; break; case 28: colorspaceEnum = YCCColorspace; break; @@ -3110,7 +3109,7 @@ return ThresholdImage(image, threshold); #else ExceptionInfo *exception = AcquireExceptionInfo(); - jboolean result = BilevelImage(image, threshold, exception); + jboolean result = BilevelImage(image, threshold); DestroyExceptionInfo(exception); return result; #endif @@ -6103,7 +6102,7 @@ clone_info = CloneImageInfo(image_info); quantize_info = AcquireQuantizeInfo(clone_info); - RemapImages(quantize_info, layers, NULL, exception); + RemapImages(quantize_info, layers, NULL); DestroyExceptionInfo(exception);