Skip to content

Commit

Permalink
Removed example for Image#opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed Aug 6, 2006
1 parent dc70f37 commit d3bc2e9
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions doc/image2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2199,19 +2199,10 @@ <h4>Returns</h4>
<p>A new image</p>

<h4>Example</h4>

<p>This example replaces white pixels with red pixels. Set the
fuzz attribute to specify how closely the target pixels must
match.</p>

<p class="rollover"><a href=
"javascript:popup('opaque.rb.html')"><img src="ex/opaque.jpg"
alt="opaque example" onmouseover=
"this.src='ex/images/Flower_Hat.jpg'" onmouseout=
"this.src='ex/opaque.jpg'" title=
"Click to see the example script" /></a> <img src=
"ex/images/spin.gif" alt="" class="spin" title=
"Mouse over the example to see the original image" /></p>
<pre>
img.fuzz = 25
img = img.opaque('white', 'red')
</pre>

<h4>See also</h4>

Expand Down

0 comments on commit d3bc2e9

Please sign in to comment.