Skip to content

Commit 7f92ca2

Browse files
authored
Update documents (#34)
1 parent f4125ca commit 7f92ca2

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

comtasks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ <h2>
204204

205205
<p>
206206
Use <a href="image2.html#import_pixels">Image#import_pixels</a> to load pixel data from a string buffer into an image. The pixel data must be in scanline
207-
order, right-to-left and top-to-bottom. The data can be packed as 8-bit bytes, 16-bit halfwords, 32-bit fullwords, or as C floats or doubles. The
207+
order, right-to-left and top-to-bottom. The data can be packed as 8-bit bytes, 16-bit half words, 32-bit full words, or as C floats or doubles. The
208208
reciprocal method is <a href="image2.html#export_pixels_to_str">Image#export_pixels_to_str</a>.
209209
</p>
210210

constants.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,21 +404,21 @@ <h3 class="const" id="ColorspaceType">ColorspaceType</h3>
404404

405405
<p class="imquote">
406406
Specify the colorspace that quantization (color reduction and mapping) is done under or to specify the colorspace when encoding an output image.
407-
Colorspaces are ways of describing colors to fit the requirements of a particular application (e.g. Television, offset printing, color monitors).&nbsp;
407+
Color spaces are ways of describing colors to fit the requirements of a particular application (e.g. Television, offset printing, color monitors).&nbsp;
408408
Color reduction, by default, takes place in the RGBColorspace. Empirical evidence suggests that distances in color spaces such as YUVColorspace or
409409
YIQColorspace correspond to perceptual color differences more closely than do distances in RGB space. These color spaces may give better results when
410410
color reducing an image.
411411
</p>
412412

413413
<p>
414414
<span class="imquote"
415-
>When encoding an output image, the colorspaces RGBColorspace, CMYKColorspace, and GRAYColorspace may be specified. The CMYKColorspace option is only
415+
>When encoding an output image, the color spaces RGBColorspace, CMYKColorspace, and GRAYColorspace may be specified. The CMYKColorspace option is only
416416
applicable when writing TIFF, JPEG, and Adobe Photoshop bitmap (PSD) files.</span
417417
>
418418
See <a href="imageattrs.html#colorspace">colorspace</a>.
419419
</p>
420420

421-
<p>Each version of ImageMagick defines a subset of the colorspaces listed below. To list the subset supported by your version, issue the command:</p>
421+
<p>Each version of ImageMagick defines a subset of the color spaces listed below. To list the subset supported by your version, issue the command:</p>
422422
<pre class="example language-ruby">ruby -r rmagick -e"Magick::ColorspaceType.values {|cs| puts cs}"</pre>
423423

424424
<dl>
@@ -489,7 +489,7 @@ <h3 class="const" id="ColorspaceType">ColorspaceType</h3>
489489
<dd class="imquote">Y-signal, U-signal, and V-signal colorspace. YUV is most widely used to encode color for use in television transmission.</dd>
490490
</dl>
491491

492-
<p>The colorspaces in this group are typically associated with the DPX and Cineon image formats used in the motion picture industry.</p>
492+
<p>The color spaces in this group are typically associated with the DPX and Cineon image formats used in the motion picture industry.</p>
493493

494494
<dl>
495495
<dt>Rec601LumaColorspace</dt>
@@ -762,7 +762,7 @@ <h3 class="const" id="CompositeOperator">CompositeOperator</h3>
762762
<dt>LinearDodgeCompositeOp</dt>
763763

764764
<dd class="imquote">
765-
This is equivelent to <code>PlusCompositeOp</code> in that the color channels are simply added, however it does not "plus" the alpha channel, but uses
765+
This is equivalent to <code>PlusCompositeOp</code> in that the color channels are simply added, however it does not "plus" the alpha channel, but uses
766766
the normal <code>OverCompositeOp</code> alpha blending, which transparencies are involved. Produces a sort of additive multiply-like result.
767767
</dd>
768768

@@ -831,7 +831,7 @@ <h3 class="const" id="CompositeOperator">CompositeOperator</h3>
831831
<dt>PinLightCompositeOp</dt>
832832

833833
<dd class="imquote">
834-
Similar to <code>HardLightCompositeOp</code>, but using sharp linear shadings, to similate the effects of a strong 'pinhole' light source.
834+
Similar to <code>HardLightCompositeOp</code>, but using sharp linear shadings, to simulate the effects of a strong 'pinhole' light source.
835835
</dd>
836836

837837
<dt>PlusCompositeOp</dt>
@@ -885,7 +885,7 @@ <h3 class="const" id="CompositeOperator">CompositeOperator</h3>
885885

886886
<dd class="imquote">
887887
The result of <code>composite image</code> - <code>image</code>, with underflow wrapping around (mod 256). The add and subtract operators can be used to
888-
perform reversable transformations.
888+
perform reversible transformations.
889889
</dd>
890890

891891
<dt>ThresholdCompositeOp</dt>
@@ -894,7 +894,7 @@ <h3 class="const" id="CompositeOperator">CompositeOperator</h3>
894894

895895
<dt>VividLightCompositeOp</dt>
896896

897-
<dd class="imquote">A modified <code>LinearLightCompositeOp</code> designed to preserve very stong primary and secondary colors in the image.</dd>
897+
<dd class="imquote">A modified <code>LinearLightCompositeOp</code> designed to preserve very strong primary and secondary colors in the image.</dd>
898898

899899
<dt>XorCompositeOp</dt>
900900

draw.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ <h4>Description</h4>
683683
<p class="imquote">
684684
The TypeMetric class provides the means to pass data from the Draw class's get_type_metric method to the user. It provides information regarding font
685685
metrics such as ascent, descent, text width, text height, and maximum horizontal advance. The units of these font metrics are in pixels...(T)he
686-
metrics are dependent on the current Image font (default Ghostscript's "Helvetica"), pointsize (default 12 points), and x/y resolution (default 72
686+
metrics are dependent on the current Image font (default Ghostscript's "Helvetica"), point size (default 12 points), and x/y resolution (default 72
687687
DPI) settings.
688688
</p>
689689

@@ -696,8 +696,8 @@ <h4>Description</h4>
696696
<p class="imquote">where resolution is in dots-per-inch (DPI). This means that at the default image resolution, there is one pixel per point.</p>
697697

698698
<p class="imquote">
699-
Note that a font's pointsize is only a first-order approximation of the font height (ascender + descender) in points. The relationship between the
700-
specified pointsize and the rendered font height is determined by the font designer.
699+
Note that a font's point size is only a first-order approximation of the font height (ascender + descender) in points. The relationship between the
700+
specified point size and the rendered font height is determined by the font designer.
701701
</p>
702702

703703
<p class="imquote">
@@ -713,7 +713,7 @@ <h4>Arguments</h4>
713713
<dt>image <em>(optional)</em></dt>
714714

715715
<dd>
716-
The image on which the string will be rendered. ImageMagick uses the attributes of the image (font name, pointsize, etc.) to compute the metrics. If
716+
The image on which the string will be rendered. ImageMagick uses the attributes of the image (font name, point size, etc.) to compute the metrics. If
717717
this argument is omitted,
718718
<code>get_type_metrics</code> substitutes a dummy image with default attributes. The <span class="arg">string</span> argument may not contain any of
719719
the special characters shown in <a href="#spec_chars_table">this</a> table.

info.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h4 id="user_option">The "user" option</h4>
261261
>
262262

263263
<p>
264-
These methods propogate the value of the "user" option to new image(s):
264+
These methods propagate the value of the "user" option to new image(s):
265265
<code
266266
>Image.new, ImageList.new, ImageList.new_image, Image.capture, Image.from_blob, ImageList.from_blob, Image.read, ImageList.read, Image.read_inline,
267267
and Image.ping</code
@@ -833,7 +833,7 @@ <h3 id="endian">endian</h3>
833833
<div class="desc">
834834
<h4>Description</h4>
835835

836-
<p>Specify the endianess of the image when reading the image file.</p>
836+
<p>Specify the endian of the image when reading the image file.</p>
837837

838838
<h4>Argument</h4>
839839

@@ -1317,12 +1317,12 @@ <h4>Description</h4>
13171317

13181318
<p class="imquote">
13191319
The transparent color. Sometimes used for saving to image formats such as GIF and PNG8 which uses this color to represent boolean transparency. This
1320-
does not make a color transparent, just defines what color the transparent color will be in the color pallette of the saved image.
1320+
does not make a color transparent, just defines what color the transparent color will be in the color palette of the saved image.
13211321
</p>
13221322

13231323
<p class="imquote">
13241324
This attribute allows you to have both a opaque visible color as well as a transparent color of the same color value without conflict. That is you can
1325-
use the same color for both the transparent and opaque color areas within an image. This in turn frees to you to select a transparenct color that is
1325+
use the same color for both the transparent and opaque color areas within an image. This in turn frees to you to select a transparent color that is
13261326
appropriate when a image is displayed by application that does not handle a transparent color index, while allowing RMagick to correctly handle images
13271327
of this type.
13281328
</p>

magick.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ <h4>Returns</h4>
354354

355355
<h4>Notes</h4>
356356

357-
<p>This method supercedes <code>set_cache_threshold</code>.</p>
357+
<p>This method supersedes <code>set_cache_threshold</code>.</p>
358358

359359
<p>
360360
Setting the <code>:time</code> limit resets the elapsed time to zero in the pixel cache. Call it before any operation that you need to set a time limit

0 commit comments

Comments
 (0)