diff options
| author | Mike Wey | 2011-10-19 23:50:45 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-10-19 23:50:45 +0200 |
| commit | bec3bf31118ba154a2d2b9739c70f9db2c3ac904 (patch) | |
| tree | 337c3d2bc4257c3026273e46c2169a8f91a0184b /dmagick/c/statistic.d | |
| parent | 1b95c603a592deb7cef49e9787ede824b94444e0 (diff) | |
Add support for imageMagick 6.6.0 to the headers.
Diffstat (limited to 'dmagick/c/statistic.d')
| -rw-r--r-- | dmagick/c/statistic.d | 10 |
1 files changed, 9 insertions, 1 deletions
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*); |
