Skip to content

Commit 6310d53

Browse files
committed
Merge branch 'pr685'
2 parents b5abcb9 + 0d718ca commit 6310d53

17 files changed

Lines changed: 33 additions & 30 deletions

docs/conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ def __repr__(self):
220220
# (source start file, target name, title, author,
221221
# documentclass [howto/manual]).
222222
latex_documents = [
223-
('index', 'Wand.tex', 'Wand Documentation', 'Hong Minhee \\and E. McConville', 'manual'),
223+
('index', 'Wand.tex', 'Wand Documentation',
224+
'Hong Minhee \\and E. McConville', 'manual'),
224225
]
225226

226227
# The name of an image file (relative to this directory) to place at the top of
@@ -263,9 +264,11 @@ def __repr__(self):
263264
extlinks = {
264265
'issue': ('https://github.com/emcconville/wand/issues/%s', '#%s'),
265266
'pull': ('https://github.com/emcconville/wand/pull/%s', '!%s'),
266-
'branch': ('https://github.com/emcconville/wand/compare/master...%s', '%s'),
267+
'branch': ('https://github.com/emcconville/wand/compare/master...%s',
268+
'%s'),
267269
'commit': ('https://github.com/emcconville/wand/commit/%s', '%s'),
268-
'cli': ('https://imagemagick.org/script/command-line-options.php#%s', '-%s'),
270+
'cli': ('https://imagemagick.org/script/command-line-options.php#%s',
271+
'-%s'),
269272
}
270273

271274
# fall back if theme is not there

docs/guide/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ This table maps ImageMagick's CLI operators to Wand's
322322
CLI Options to Wand Properties
323323
------------------------------
324324

325-
This table list ImageMagick's options, and maps them to Wand's
325+
This table lists ImageMagick's options, and maps them to Wand's
326326
:class:`~wand.image.Image` properties.
327327

328328
+------------------------+--------------------------------------------------+

docs/guide/colorspace.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Colorspace
44
Image types
55
-----------
66

7-
Every :class:`~wand.image.Image` object has :attr:`~wand.image.BaseImage.type`
7+
Every :class:`~wand.image.Image` object has :attr:`~wand.image.BaseImage.type`
88
property which identifies its colorspace. The value can be one of
99
:const:`~wand.image.IMAGE_TYPES` enumeration, and set of its available
1010
values depends on its :attr:`~wand.image.Image.format` as well. For example,

docs/guide/distortion.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Virtual Pixels
3636
''''''''''''''
3737

3838
When performing distortion on raster images, the resulting image often includes
39-
pixels that are outside original bounding raster. These regions are referred to
39+
pixels that are outside the original bounding raster. These regions are referred to
4040
as vertical pixels, and can be controlled by setting
4141
:attr:`Image.virtual_pixel <wand.image.BaseImage.virtual_pixel>` to any value
4242
defined in :const:`~wand.image.VIRTUAL_PIXEL_METHOD`.
@@ -425,7 +425,7 @@ preserve aspect ratios.
425425
Radius\ :sub:`max`, Radius\ :sub:`min`, Center\ :sub:`x`, Center\ :sub:`y`, Angle\ :sub:`start`, Angle\ :sub:`end`
426426
427427
All the arguments are optional, and an argument of ``0`` will use the distance
428-
of the center to the closet edge as the default radius.
428+
of the center to the closest edge as the default radius.
429429

430430
For example::
431431

docs/guide/draw.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ An example::
4242
draw.stroke_color = Color('black')
4343
draw.stroke_width = 2
4444
draw.fill_color = Color('white')
45-
draw.arc(( 25, 25), # Stating point
45+
draw.arc(( 25, 25), # Starting point
4646
( 75, 75), # Ending point
4747
(135,-45)) # From bottom left around to top right
4848
with Image(width=100,
@@ -543,7 +543,7 @@ Both horizontal & vertical can be set independently with
543543
draw.rectangle(left=10, top=10, width=30, height=30, xradius=5, yradius=3)
544544
draw(image)
545545

546-
Note that the stoke and the fill are determined by the following properties:
546+
Note that the stroke and the fill are determined by the following properties:
547547

548548
- :attr:`~wand.drawing.Drawing.stroke_color`
549549
- :attr:`~wand.drawing.Drawing.stroke_dash_array`

docs/guide/effect.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ to reduce noise in an image, but also preserves edges.
269269

270270
.. code-block:: python
271271
272-
from image.wand import Image
272+
from wand.image import Image
273273
274274
with Image(filename="hummingbird.jpg") as img:
275275
img.kuwahara(radius=2, sigma=1.5)
@@ -290,9 +290,9 @@ Shade
290290

291291
.. versionadded:: 0.5.0
292292

293-
Creates a 3D effect by simulating light from source where ``aziumth`` controls
293+
Creates a 3D effect by simulating light from source where ``azimuth`` controls
294294
the X/Y angle, and ``elevation`` controls the Z angle. You can also determine
295-
of the resulting image should be transformed to grayscale by passing ``gray``
295+
whether the resulting image should be transformed to grayscale by passing ``gray``
296296
boolean.
297297

298298
.. code-block:: python

docs/guide/fx.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Polaroid
241241

242242
.. versionadded:: 0.5.4
243243

244-
Wraps am image in a white board, and a slight shadow to create the special
244+
Wraps an image in a white board, and a slight shadow to create the special
245245
effect of a Polaroid print.
246246

247247
.. code-block:: python
@@ -406,7 +406,7 @@ Tint
406406
.. versionadded:: 0.5.3
407407

408408
Tint colorizes midtones of an image by blending the given ``color``.
409-
The ``alpha`` parameter controls how the blend is effected between color
409+
The ``alpha`` parameter controls how the blend is affected between color
410410
channels. However, this can be tricky to use, so when in doubt, use a
411411
``alpha="gray(50)"`` argument.
412412

docs/guide/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ MacPorts
9494

9595
$ sudo port install imagemagick
9696

97-
If your Python in not installed using MacPorts, you have to export
97+
If your Python is not installed using MacPorts, you have to export
9898
:envvar:`MAGICK_HOME` path as well. Because Python that is not installed
9999
using MacPorts doesn't look up :file:`/opt/local`, the default path prefix
100100
of MacPorts packages.
@@ -146,7 +146,7 @@ libraries for C and C++` to make Wand able to link to it.
146146
Lastly you have to set :envvar:`MAGICK_HOME` environment variable to the path
147147
of ImageMagick (e.g. :file:`C:\\Program Files\\ImageMagick-6.9.3-Q16`).
148148
You can set it in :menuselection:`Computer --> Properties -->
149-
Advanced system settings --> Advanced --> Enviro&nment Variables...`.
149+
Advanced system settings --> Advanced --> Environment Variables...`.
150150

151151

152152
.. _explicit-link:

docs/guide/layers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Frame 6 size : (26, 27) page: (100, 100, 52, 52)
9999

100100
.. image:: ../_images/layers-optmized-layers.png
101101

102-
Notice each frame after the first has a reduce size & page x/y offset.
102+
Notice each frame after the first has a reduced size & page x/y offset.
103103
Contacting each frame shows only the minimum bounding region covering the pixel
104104
changes across each previous frame. *Note: the lime-green background is only
105105
there for a visual cue one the website, and has not special meaning outside of

docs/guide/morphology.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Smooth applies both `Open`_ & `Close`_ methods. This will remove small objects
310310
Edge In
311311
'''''''
312312

313-
Edge In method performs a `Erode`_, but only keeps the targeted pixel next
313+
Edge In method performs an `Erode`_, but only keeps the targeted pixel next
314314
to a shape. This means the edge is drawn just inside the white of a object.
315315

316316
.. code-block:: python

0 commit comments

Comments
 (0)