332332#: - ``'screen'``
333333#: - ``'seamless_blend'`` - Added with ImageMagick-7.1.1
334334#: - ``'soft_burn'`` - Added with ImageMagick-7.0.10
335- #: - ``'soft_dudge '`` - Added with ImageMagick-7.0.10
335+ #: - ``'soft_dodge '`` - Added with ImageMagick-7.0.10
336336#: - ``'soft_light'``
337337#: - ``'src_atop'``
338338#: - ``'src'``
@@ -3103,7 +3103,7 @@ def auto_threshold(self, method='kapur'):
31033103 @trap_exception
31043104 def bilateral_blur (self , width = 1.0 , height = None , intensity = None ,
31053105 spatial = None ):
3106- """Noise-reducing Gaussian distrbution filter. Preserves edges by
3106+ """Noise-reducing Gaussian distribution filter. Preserves edges by
31073107 replacing pixel intensity with weighted averages of neighboring
31083108 pixels. Parameters ``width`` & ``height`` define the area-size around
31093109 each pixel to include in the neighboring sample.
@@ -3201,7 +3201,7 @@ def blur(self, radius=0.0, sigma=0.0, channel=None):
32013201 Added optional ``channel`` argument.
32023202
32033203 .. versionchanged:: 0.5.7
3204- Positional arguments ``radius`` & ``sigman `` have been converted to
3204+ Positional arguments ``radius`` & ``sigma `` have been converted to
32053205 key-word arguments.
32063206 """
32073207 assertions .assert_real (radius = radius , sigma = sigma )
@@ -5269,11 +5269,11 @@ def floodfill(self, fill='none', fuzz=0.1, bordercolor=None,
52695269 x = 0 , y = 0 , invert = False , channel = 'default_channels' ):
52705270 """Changes pixel value to ``fill`` color at (``x``, ``y``) coordinate,
52715271 and repeats for all neighboring pixels until border is reached. Use
5272- ``fuzz`` and/or ``bordercolor`` to defined tolarance & border values.
5272+ ``fuzz`` and/or ``bordercolor`` to defined tolerance & border values.
52735273
52745274 :param fill: New target color value.
52755275 :type fill: :class:`wand.color.Color` or :class:`str`
5276- :param fuzz: Fill threashold . Values between `0.0` and `1.0`. Default
5276+ :param fuzz: Fill threshold . Values between `0.0` and `1.0`. Default
52775277 `0.1` (10%).
52785278 :type fuzz: :class:`numbers.Real`
52795279 :param bordercolor: Optional color to use as a border. Default
@@ -5641,7 +5641,7 @@ def get_image_distortion(self, image, metric='undefined'):
56415641
56425642 :param image: Image to reference.
56435643 :type image: :class:`wand.image.BaseImage`
5644- :param metric: Compare disortion metric to use. See
5644+ :param metric: Compare distortion metric to use. See
56455645 :const:`COMPARE_METRICS`.
56465646 :type metric: :class:`str`
56475647 :returns: Computed value of the distortion metric used.
@@ -6004,7 +6004,7 @@ def kmeans(self, number_colors=None, max_iterations=100, tolerance=0.01):
60046004 :param max_iterations: maximum number of iterations needed until
60056005 convergence. Default ``100``.
60066006 :type max_iterations: :class:`numbers.Integral`
6007- :param tolerance: maximum tolerance between distrotion iterations.
6007+ :param tolerance: maximum tolerance between distortion iterations.
60086008 Default ``0.01``
60096009 :type tolerance: :class:`numbers.Real`
60106010
@@ -6100,7 +6100,7 @@ def kuwahara(self, radius=1.0, sigma=None):
61006100 def label (self , text , left = None , top = None , font = None , gravity = None ,
61016101 background_color = 'transparent' ):
61026102 """Writes a label ``text`` into the position on top of the existing
6103- canvas. This method doesn't autofit text like :meth:`caption`. Use
6103+ canvas. This method doesn't auto-fit text like :meth:`caption`. Use
61046104 ``left`` & ``top``, or ``gravity``, to position the text.
61056105
61066106 :param text: text to write.
@@ -7224,7 +7224,7 @@ def percent_escape(self, string_format):
72247224 Not all percent escaped values can be populated as I/O operations
72257225 are managed by Python, and not the CLI utility.
72267226
7227- :param string_format: The precent escaped string to be translated.
7227+ :param string_format: The percent escaped string to be translated.
72287228 :type string_format: :class:`str`
72297229 :returns: String of expanded values.
72307230 :rtype: :class:`str`
@@ -7406,7 +7406,7 @@ def quantize(self, number_colors, colorspace_type='undefined',
74067406
74077407 .. versionchanged:: 0.7.0
74087408 The default value for ``colorspace_type`` argument
7409- is now set to ``"undefeined "`` to match CLI behavior.
7409+ is now set to ``"undefined "`` to match CLI behavior.
74107410 """
74117411 assertions .assert_integer (number_colors = number_colors )
74127412 assertions .string_in_list (COLORSPACE_TYPES ,
@@ -7435,7 +7435,7 @@ def quantize(self, number_colors, colorspace_type='undefined',
74357435 @trap_exception
74367436 def random_threshold (self , low = 0.0 , high = 1.0 , channel = None ):
74377437 """Performs a random dither to force a pixel into a binary black &
7438- white state. Each color channel operarates independently from each
7438+ white state. Each color channel operates independently from each
74397439 other.
74407440
74417441 :param low: bottom threshold. Any pixel value below the given value
@@ -7519,14 +7519,14 @@ def range_channel(self, channel='default_channels'):
75197519 @trap_exception
75207520 def range_threshold (self , low_black = 0.0 , low_white = None , high_white = None ,
75217521 high_black = None ):
7522- """Applies soft & hard thresholding .
7522+ """Applies soft & hard threshold .
75237523
7524- For a soft thresholding , parameters should be monotonically increasing:
7524+ For a soft threshold , parameters should be monotonically increasing:
75257525
75267526 with Image(filename='text.png') as img:
75277527 img.range_threshold(0.2, 0.4, 0.6, 0.8)
75287528
7529- For a hard thresholding , parameters should be the same:
7529+ For a hard threshold , parameters should be the same:
75307530
75317531 with Image(filename='text.png') as img:
75327532 img.range_threshold(0.4, 0.4, 0.6, 0.6)
@@ -7854,7 +7854,7 @@ def roll(self, x=0, y=0):
78547854 :type x: :class:`numbers.Integral`
78557855 :param y: Number of rows to roll over. Negative value will roll
78567856 pixels from bottom-to-top, and positive value will roll
7857- pixels from top-to-bottm . Default value: ``0``.
7857+ pixels from top-to-bottom . Default value: ``0``.
78587858 :type y: :class:`numbers.Integral`
78597859
78607860 .. versionadded:: 0.6.8
@@ -8869,10 +8869,10 @@ def transform(self, crop='', resize=''):
88698869 Only one % symbol is needed.
88708870
88718871 **width**
8872- Width given, height automagically selected to preserve aspect ratio.
8872+ Width given, height automatically selected to preserve aspect ratio.
88738873
88748874 ``x``\\ \\ **height**
8875- Height given, width automagically selected to preserve aspect ratio.
8875+ Height given, width automatically selected to preserve aspect ratio.
88768876
88778877 **width**\\ ``x``\\ **height**
88788878 Maximum values of width and height given; aspect ratio preserved.
@@ -9697,7 +9697,7 @@ def _preamble_read(self, background=None, colorspace=None, depth=None,
96979697 :type units: :class:`numbers.Integral`
96989698 :param width: Defines how wide a blank canvas should be. Only used if
96999699 ``height`` is also defined.
9700- :type width: :class:`numbers.Intragal `
9700+ :type width: :class:`numbers.Integral `
97019701
97029702 .. versionadded:: 0.6.3
97039703 """
@@ -10296,7 +10296,7 @@ def montage(self, font=None, tile=None, thumbnail=None, mode='unframe',
1029610296 Thumbnail labeling will only be rendered if ``'label'``
1029710297 value in :attr:`options` dict is defined.
1029810298 :type font: :class:`~wand.font.Font`
10299- :param tile: The number of thunbnails per rows & column on a page.
10299+ :param tile: The number of thumbnails per rows & column on a page.
1030010300 Example: ``"6x4"``.
1030110301 :type tile: :class:`str`
1030210302 :param thumbnail: Preferred image size. Montage will attempt to
@@ -10307,7 +10307,7 @@ def montage(self, font=None, tile=None, thumbnail=None, mode='unframe',
1030710307 :param mode: Which effect to render. Options include ``"frame"``,
1030810308 ``"unframe"``, and ``"concatenate"``. Default ``"frame"``.
1030910309 :type mode: :class:`str`
10310- :param frame: Define ornamental boarder around each thrumbnail .
10310+ :param frame: Define ornamental boarder around each thumbnail .
1031110311 The color of the frame is defined by the image's matte
1031210312 color. Example: ``"15x15+3+3"``.
1031310313 :type frame: :class:`str`
@@ -10437,7 +10437,7 @@ def read(self, file=None, filename=None, blob=None, background=None,
1043710437 useful for vectorial formats (like PDF)
1043810438 :type resolution: :class:`collections.abc.Sequence`,
1043910439 :class:`numbers.Integral`
10440- :param sampling_factors: set up/down stampling factors for YUV data
10440+ :param sampling_factors: set up/down sampling factors for YUV data
1044110441 stream. Usually ``"4:2:2"``
1044210442 :type sampling_factors: :class:`collections.abc.Sequence`,
1044310443 :class:`str`
@@ -10825,7 +10825,7 @@ def __len__(self):
1082510825
1082610826class ArtifactTree (ImageProperty , abc .MutableMapping ):
1082710827 """Splay tree to map image artifacts. Values defined here
10828- are intended to be used elseware , and will not be written
10828+ are intended to be used elsewhere , and will not be written
1082910829 to the encoded image.
1083010830
1083110831 For example::
0 commit comments