Skip to content

Commit

Permalink
Document new "order" option to Image#ordered_dither
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed Jan 3, 2006
1 parent aadac55 commit 35ac828
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions doc/image2.html
Expand Up @@ -11,7 +11,7 @@
"text/html; charset=us-ascii" />
<meta name="GENERATOR" content="Quanta Plus" />
<meta name="Copyright" content=
"Copyright (C) 2005 by Timothy P. Hunter" />
"Copyright (C) 2006 by Timothy P. Hunter" />
<link rel="stylesheet" type="text/css" href="css/doc.css" />
<script type="text/javascript" src="scripts/doc.js">
</script>
Expand Down Expand Up @@ -488,12 +488,12 @@ <h4>Example</h4>
<img style="padding:25px; display:none" id="frameless"
onmouseout="this.style.display='none';framed.style.display='';"
src="ex/images/Flower_Hat.jpg" alt="frame example" title=
"Click to see the example script" name="frameless" /><!--
"Click to see the example script" /><!--
This img tag displays the framed image when the mouse is not over
--><img id="framed"
onmouseover=
"this.style.display='none';frameless.style.display='';" src=
"ex/frame.jpg" alt="frame example" name="framed" /></a>
"ex/frame.jpg" alt="frame example" /></a>
<img src="ex/images/spin.gif" alt="" style=
"margin-bottom: 280px" title=
"Mouse over the example to see the original image" /></p>
Expand Down Expand Up @@ -2116,8 +2116,8 @@ <h4>Magick API</h4>
<div class="sig">
<h3 id="ordered_dither">ordered_dither</h3>

<p><span class="arg">image</span>.ordered_dither -&gt;
<em>anImage</em></p>
<p><span class="arg">image</span>.ordered_dither(<span class=
"arg">order</span>=2) -&gt; <em>anImage</em></p>
</div>

<div class="desc">
Expand All @@ -2127,6 +2127,15 @@ <h4>Description</h4>
reducing color images to monochrome using positional
information to retain as much information as possible.</p>

<h4>Arguments</h4>

<dl>
<dt>order</dt>

<dd>The dither order. Must be one of the integers 2, 3, or
4.</dd>
</dl>

<h4>Returns</h4>

<p>A new image</p>
Expand All @@ -2149,7 +2158,7 @@ <h4>See also</h4>

<h4>Magick API</h4>

<p>OrderedDitherImage</p>
<p>RandomThresholdImageChannel</p>
</div>

<div class="sig">
Expand Down

0 comments on commit 35ac828

Please sign in to comment.