From bec3bf31118ba154a2d2b9739c70f9db2c3ac904 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Wed, 19 Oct 2011 23:50:45 +0200 Subject: Add support for imageMagick 6.6.0 to the headers. --- dmagick/c/statistic.d | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dmagick/c/statistic.d') diff --git a/dmagick/c/statistic.d b/dmagick/c/statistic.d index 8a3ffd7..0bd7841 100644 --- a/dmagick/c/statistic.d +++ b/dmagick/c/statistic.d @@ -85,7 +85,15 @@ extern(C) ChannelStatistics* GetImageChannelStatistics(const(Image)*, ExceptionInfo*); - Image* EvaluateImages(const(Image)*, const MagickEvaluateOperator, ExceptionInfo*); + static if ( MagickLibVersion < 0x661 ) + { + Image* AverageImages(const(Image)*, ExceptionInfo*); + } + + static if ( MagickLibVersion >= 0x661 ) + { + Image* EvaluateImages(const(Image)*, const MagickEvaluateOperator, ExceptionInfo*); + } MagickBooleanType EvaluateImage(Image*, const MagickEvaluateOperator, const double, ExceptionInfo*); MagickBooleanType EvaluateImageChannel(Image*, const ChannelType, const MagickEvaluateOperator, const double, ExceptionInfo*); -- cgit v1.2.3