Skip to content

Commit

Permalink
Fixed #507 - channel failure with Image.gaussian_blur() for ImageMagi…
Browse files Browse the repository at this point in the history
…ck-6
  • Loading branch information
emcconville committed Nov 20, 2020
1 parent 910619d commit c31f6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Unreleased.

- Fixed `MagickFloatType` mapping for **s390x** architecture. [:issue:`504` & :issue:`505`]
- Fixed image order when calling :meth:`wand.sequence.Sequence.__setitem__()` method. [:issue:`506`]
- Fixed :meth:`Image.gaussian_blur() <wand.image.BaseImage.gaussian_blur>` method with ``channel`` parameter. [:issue:`508`]
- Added :meth:`Image.color_threshold() <wand.image.BaseImage.color_threshold>` method.
- Added :meth:`Image.convex_hull() <wand.image.BaseImage.convex_hull>` method. Requires ImageMagick-7.0.10 or above.
- Added :meth:`Image.kmeans() <wand.image.BaseImage.kmeans>` method. Only available with ImageMagick-7.0.10-37 or later.
Expand Down
2 changes: 1 addition & 1 deletion wand/cdefs/magick_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def load(lib, IM_VERSION):
lib.MagickGaussianBlurImage.restype = c_bool
if is_im_6:
lib.MagickGaussianBlurImageChannel.argtypes = [
c_void_p, c_double, c_double
c_void_p, c_int, c_double, c_double
]
lib.MagickGaussianBlurImageChannel.restype = c_bool
else:
Expand Down

0 comments on commit c31f6f7

Please sign in to comment.