Skip to content

Commit 65d04b7

Browse files
authored
Update documents (#4)
rmagick/rmagick#1395
1 parent 86ba970 commit 65d04b7

File tree

3 files changed

+19
-30
lines changed

3 files changed

+19
-30
lines changed

image1.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ <h4>Example</h4>
14581458
<h4>See also</h4>
14591459

14601460
<p><a href="image3.html#rotate">rotate</a>, <a href=
1461-
"#shear">shear</a></p>
1461+
"image3.html#shear">shear</a></p>
14621462

14631463
<h4>Magick API</h4>
14641464

@@ -1886,11 +1886,8 @@ <h4>Arguments</h4>
18861886
<h4>Example</h4>
18871887

18881888
<p>See <a href=
1889-
"http://www.cit.gu.edu.au/~anthony/graphics/imagick6/compose/#blend">
1890-
"Blend Two Images Together"</a> in Anthony Thyssen's
1891-
<cite><a href=
1892-
"http://www.cit.gu.edu.au/~anthony/graphics/imagick6/">Examples
1893-
of ImageMagick Usage</a></cite>.</p>
1889+
"https://legacy.imagemagick.org/Usage/compose/#blend">
1890+
"Blend Two Images Together"</a>.</p>
18941891

18951892
<h4>Returns</h4>
18961893

image2.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ <h4>Returns</h4>
445445
<h4>Example</h4>
446446

447447
<p>The left-hand side has had noise added by <code><a href=
448-
"#add_noise">add_noise</a></code>. The right-hand side is the
448+
"image1.html#add_noise">add_noise</a></code>. The right-hand side is the
449449
result after using <code>enhance</code>.</p>
450450

451451
<p><a href="javascript:popup('enhance.rb.html')"><img src=
@@ -1957,7 +1957,7 @@ <h4>Returns</h4>
19571957
<h4>See also</h4>
19581958

19591959
<p><a href=
1960-
"image1.html#each_iptc_dataset">each_iptc_dataset</a>, <a href=
1960+
"#each_iptc_dataset">each_iptc_dataset</a>, <a href=
19611961
"imageattrs.html#iptc_profile">iptc_profile</a></p>
19621962
</div>
19631963

@@ -2527,7 +2527,7 @@ <h4>See also</h4>
25272527

25282528
<p>This method corresponds to the +level-colors option. See
25292529
<a href=
2530-
"http://www.imagemagick.org/Usage/color/#level-colors">Examples
2530+
"https://imagemagick.org/script/command-line-options.php#level-colors">Examples
25312531
of ImageMagick Usage</a> for more information.</p>
25322532

25332533
<h4>Magick API</h4>
@@ -2588,7 +2588,7 @@ <h4>See also</h4>
25882588
"#level_channel">level_channel</a></p>
25892589

25902590
<p>This method corresponds to the +level option. See <a href=
2591-
"http://www.imagemagick.org/Usage/color/#level_plus">Examples
2591+
"https://imagemagick.org/script/command-line-options.php#level">Examples
25922592
of ImageMagick Usage</a> for more information.</p>
25932593

25942594
<h4>Magick API</h4>

image3.html

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,6 @@ <h4>Magick API</h4>
456456

457457
<p>PolaroidImage</p>
458458

459-
<h4>See also</h4>
460-
461-
<p><a href=
462-
"http://rmagick.rubyforge.org/Polaroid/polaroid.html">The
463-
Polaroid Effect</a></p>
464-
465459
<h4>Notes</h4>
466460

467461
<p>"Polaroid" and the other names of products of Polaroid
@@ -765,7 +759,7 @@ <h4>Arguments</h4>
765759
<dd>A <a href="constants.html#DitherMethod">DitherMethod</a>
766760
value. Set to <code>NoDitherMethod</code> to disable
767761
dithering. See the documentation for the <a href=
768-
"http://redux.imagemagick.org/script/command-line-options.php#dither">
762+
"https://imagemagick.org/script/command-line-options.php#dither">
769763
ImageMagick -dither option</a> for more information.</dd>
770764

771765
<dt>tree_depth</dt>
@@ -777,7 +771,7 @@ <h4>Arguments</h4>
777771
characteristics of the input image, and may be determined
778772
through experimentation.</span> See the documentation for the
779773
<a href=
780-
"http://redux.imagemagick.org/script/command-line-options.php#treedepth">
774+
"https://imagemagick.org/script/command-line-options.php#treedepth">
781775
ImageMagick -treedepth option</a> for more information.</dd>
782776

783777
<dt>measure_error</dt>
@@ -1203,7 +1197,7 @@ <h4>Returns</h4>
12031197
<h4>Example</h4>
12041198

12051199
<p>The left side of the image has been modified by <a href=
1206-
"#Image.add_noise"><code>add_noise</code></a>. The right side
1200+
"image1.html#add_noise"><code>add_noise</code></a>. The right side
12071201
has been filtered by <code>reduce_noise(0)</code>.</p>
12081202

12091203
<p><a href="javascript:popup('reduce_noise.rb.html')"><img src=
@@ -1360,7 +1354,7 @@ <h4>Arguments</h4>
13601354
<dd>The <a href="constants.html#FilterTypes">filter</a> to
13611355
use when resizing. If you do not specify a filter argument,
13621356
resize uses the value of the receiver's <a href=
1363-
"imageattrs.html#Image.filter">filter attribute</a>.
1357+
"imageattrs.html#filter">filter attribute</a>.
13641358
<span class="imquote">Most of the filters are FIR (finite
13651359
impulse response), however, Bessel, Gaussian, and Sinc are
13661360
IIR (infinite impulse response). Bessel and Sinc are windowed
@@ -1371,7 +1365,7 @@ <h4>Arguments</h4>
13711365
<dd>Values &gt; 1 increase the blurriness. Values &lt; 1
13721366
increase the sharpness. If this argument is not specified,
13731367
<code>resize</code> uses the value of the receiver's <a href=
1374-
"imageattrs.html#Image.blur">blur</a> attribute.</dd>
1368+
"imageattrs.html#blur">blur</a> attribute.</dd>
13751369

13761370
<dt>scale_factor</dt>
13771371

@@ -1393,7 +1387,7 @@ <h4>See also</h4>
13931387
"image2.html#magnify">magnify</a>, <a href=
13941388
"image2.html#minify">minify</a>, <a href="#sample">sample</a>,
13951389
<a href="#scale">scale</a>, <a href=
1396-
"thumbnail">thumbnail</a></p>
1390+
"#thumbnail">thumbnail</a></p>
13971391

13981392
<h4>Magick API</h4>
13991393

@@ -2927,7 +2921,7 @@ <h4>Arguments</h4>
29272921
watermark will be hidden. When you retrieve the watermark
29282922
from the file, you must supply this value, along with the
29292923
width and height of the watermark, in the <a href=
2930-
"info.html#Info.size_eq">size</a> optional parameter to the
2924+
"info.html#size">size</a> optional parameter to the
29312925
<a href="image1.html#read">read</a> method.</dd>
29322926
</dl>
29332927

@@ -3407,7 +3401,7 @@ <h4>Arguments</h4>
34073401
<p>No required arguments, however you can specify the image
34083402
format (such as JPEG, PNG, etc.) and depth by calling the
34093403
<a href="imageattrs.html#format">format</a> and <a href=
3410-
"imageattrs.html#Image.depth">depth</a> attributes, as well as
3404+
"imageattrs.html#depth">depth</a> attributes, as well as
34113405
other <a href="info.html">Image::Info</a> attributes as
34123406
appropriate, in a block associated with the method.</p>
34133407

@@ -3443,8 +3437,8 @@ <h4>Description</h4>
34433437

34443438
<p>Returns the color name for a pixel. Unlike the
34453439
<code>Pixel#to_color</code> method, to_color uses the <a href=
3446-
"imageattrs.html#Image.depth">depth</a> and <a href=
3447-
"imageattrs.html#Image.matte">matte</a> attributes of the image
3440+
"imageattrs.html#depth">depth</a> and <a href=
3441+
"imageattrs.html#matte">matte</a> attributes of the image
34483442
to determine the color name.</p>
34493443

34503444
<h4>Arguments</h4>
@@ -4269,10 +4263,8 @@ <h4>Returns</h4>
42694263
<h4>Example</h4>
42704264

42714265
<p>See <a href=
4272-
"http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/#wmark_image">
4273-
"Watermarking with Images"</a> in Anthony Thyssen's <a href=
4274-
"http://www.cit.gu.edu.au/~anthony/graphics/imagick6/"><cite>Examples
4275-
of ImageMagick Usage</cite></a>.</p>
4266+
"https://imagemagick.org/Usage/annotating/#watermarking">
4267+
"Water Marking"</a>.</p>
42764268

42774269
<p class="rollover"><a href=
42784270
"javascript:popup('watermark.rb.html')"><img src=

0 commit comments

Comments
 (0)