rmagick 2.8.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

Files changed (88) hide show
  1. data/ChangeLog +10 -2
  2. data/README.html +7 -7
  3. data/doc/comtasks.html +2 -2
  4. data/doc/constants.html +5 -5
  5. data/doc/draw.html +131 -20
  6. data/doc/ex/InitialCoords.rb +1 -1
  7. data/doc/ex/NewCoordSys.rb +2 -2
  8. data/doc/ex/OrigCoordSys.rb +1 -1
  9. data/doc/ex/RotateScale.rb +2 -2
  10. data/doc/ex/Skew.rb +2 -2
  11. data/doc/ex/ViewBox.rb +1 -1
  12. data/doc/ex/arc.rb +4 -2
  13. data/doc/ex/arcs02.rb +1 -1
  14. data/doc/ex/bounding_box.rb +3 -0
  15. data/doc/ex/cbezier1.rb +2 -0
  16. data/doc/ex/cbezier2.rb +2 -0
  17. data/doc/ex/cbezier3.rb +2 -0
  18. data/doc/ex/cbezier4.rb +2 -0
  19. data/doc/ex/cbezier5.rb +2 -0
  20. data/doc/ex/cbezier6.rb +2 -0
  21. data/doc/ex/channel.rb +1 -0
  22. data/doc/ex/circle.rb +2 -0
  23. data/doc/ex/cubic01.rb +1 -1
  24. data/doc/ex/cubic02.rb +1 -1
  25. data/doc/ex/ellipse.rb +2 -0
  26. data/doc/ex/font_styles.rb +12 -10
  27. data/doc/ex/get_type_metrics.rb +2 -0
  28. data/doc/ex/grav.rb +2 -0
  29. data/doc/ex/image.rb +1 -1
  30. data/doc/ex/line.rb +2 -0
  31. data/doc/ex/opacity.rb +6 -4
  32. data/doc/ex/path.rb +2 -0
  33. data/doc/ex/polaroid.rb +2 -0
  34. data/doc/ex/qbezierpath.rb +3 -0
  35. data/doc/ex/rectangle.rb +2 -0
  36. data/doc/ex/rotate.rb +2 -0
  37. data/doc/ex/roundrect.rb +2 -0
  38. data/doc/ex/skewx.rb +2 -0
  39. data/doc/ex/skewy.rb +2 -0
  40. data/doc/ex/stroke_dasharray.rb +2 -0
  41. data/doc/ex/stroke_width.rb +2 -0
  42. data/doc/ex/text.rb +3 -2
  43. data/doc/ex/text01.rb +1 -1
  44. data/doc/ex/text_styles.rb +1 -1
  45. data/doc/ex/text_undercolor.rb +2 -0
  46. data/doc/ex/translate.rb +3 -1
  47. data/doc/ilist.html +2 -2
  48. data/doc/image1.html +2 -2
  49. data/doc/image2.html +2 -2
  50. data/doc/image3.html +37 -6
  51. data/doc/imageattrs.html +2 -2
  52. data/doc/imusage.html +3 -3
  53. data/doc/index.html +3 -3
  54. data/doc/info.html +2 -2
  55. data/doc/magick.html +2 -2
  56. data/doc/optequiv.html +24 -2
  57. data/doc/rvg.html +2 -2
  58. data/doc/rvgclip.html +2 -2
  59. data/doc/rvggroup.html +2 -2
  60. data/doc/rvgimage.html +2 -2
  61. data/doc/rvgpattern.html +2 -2
  62. data/doc/rvgshape.html +2 -2
  63. data/doc/rvgstyle.html +2 -2
  64. data/doc/rvgtext.html +2 -2
  65. data/doc/rvgtspan.html +2 -2
  66. data/doc/rvgtut.html +2 -2
  67. data/doc/rvguse.html +2 -2
  68. data/doc/rvgxform.html +2 -2
  69. data/doc/struct.html +2 -2
  70. data/doc/usage.html +6 -4
  71. data/ext/RMagick/MANIFEST +6 -1
  72. data/ext/RMagick/extconf.rb +18 -2
  73. data/ext/RMagick/rmagick.c +312 -0
  74. data/ext/RMagick/rmagick.h +137 -61
  75. data/ext/RMagick/rmdraw.c +271 -377
  76. data/ext/RMagick/rmenum.c +1016 -0
  77. data/ext/RMagick/rmimage.c +172 -16
  78. data/ext/RMagick/rminfo.c +5 -5
  79. data/ext/RMagick/rmmain.c +50 -303
  80. data/ext/RMagick/rmmontage.c +386 -0
  81. data/ext/RMagick/rmpixel.c +816 -0
  82. data/ext/RMagick/rmstruct.c +887 -0
  83. data/ext/RMagick/rmutil.c +25 -2634
  84. data/lib/RMagick.rb +46 -2
  85. data/lib/rvg/misc.rb +5 -4
  86. data/lib/rvg/stylable.rb +7 -1
  87. data/rmagick.gemspec +1 -1
  88. metadata +7 -2
@@ -23,7 +23,7 @@ rvg = Magick::RVG.new(12.cm, (5.25).cm).viewbox(0, 0, 1200, 525) do |canvas|
23
23
 
24
24
  canvas.rect(1196, 522, 1, 1).styles(:fill=>'none', :stroke=>'blue', :stroke_width=>1)
25
25
 
26
- canvas.g.styles(:font_size=>30, :font_family=>'Verdana') do |grp|
26
+ canvas.g.styles(:font_size=>30, :font_family=>'Verdana', :font_weight=>'normal', :font_style=>'normal') do |grp|
27
27
 
28
28
  grp.use(base_ellipses)
29
29
 
@@ -29,6 +29,9 @@ gc.circle(bb.x+bb.width, bb.y+bb.height, bb.x+bb.width+2, bb.y+bb.height+2)
29
29
 
30
30
  gc.fill("black")
31
31
  gc.stroke("transparent")
32
+ gc.font_weight(Magick::NormalWeight)
33
+ gc.font_style(Magick::NormalStyle)
34
+ gc.pointsize(9)
32
35
  gc.text(bb.x-15, bb.y-5, "\'#{bb.x},#{bb.y}\'")
33
36
  gc.text(bb.x+bb.width-15, bb.y-5, "\'#{bb.x+bb.width},#{bb.y}\'")
34
37
  gc.text(bb.x-15, bb.y+bb.height+15, "\'#{bb.x},#{bb.y+bb.height}\'")
@@ -26,6 +26,8 @@ gc.circle(20,20, 23,23)
26
26
  gc.circle(320,20, 323,23)
27
27
 
28
28
  # Annotate
29
+ gc.font_weight(Magick::NormalWeight)
30
+ gc.font_style(Magick::NormalStyle)
29
31
  gc.fill('black')
30
32
  gc.stroke('transparent')
31
33
  gc.text(27,120, "'20,120'")
@@ -26,6 +26,8 @@ gc.circle(100,25, 103,28)
26
26
  gc.circle(400,25, 403,28)
27
27
 
28
28
  # Annotate
29
+ gc.font_weight(Magick::NormalWeight)
30
+ gc.font_style(Magick::NormalStyle)
29
31
  gc.fill('black')
30
32
  gc.stroke('transparent')
31
33
  gc.text(34,125, "'25,125'")
@@ -26,6 +26,8 @@ gc.circle(25,50, 28,53)
26
26
  gc.circle(475,50, 478,53)
27
27
 
28
28
  # Annotate
29
+ gc.font_weight(Magick::NormalWeight)
30
+ gc.font_style(Magick::NormalStyle)
29
31
  gc.fill('black')
30
32
  gc.stroke('transparent')
31
33
  gc.text(107,150, "'100,150'")
@@ -26,6 +26,8 @@ gc.circle(20,30, 23,33)
26
26
  gc.circle(320,330, 323,333)
27
27
 
28
28
  # Annotate
29
+ gc.font_weight(Magick::NormalWeight)
30
+ gc.font_style(Magick::NormalStyle)
29
31
  gc.fill('black')
30
32
  gc.stroke('transparent')
31
33
  gc.text(29,180, "'20,180'")
@@ -26,6 +26,8 @@ gc.circle(95,20, 98,23)
26
26
  gc.circle(245,20, 248,23)
27
27
 
28
28
  # Annotate
29
+ gc.font_weight(Magick::NormalWeight)
30
+ gc.font_style(Magick::NormalStyle)
29
31
  gc.fill('black')
30
32
  gc.stroke('transparent')
31
33
  gc.text(29,120, "'20,120'")
@@ -34,6 +34,8 @@ gc.line(200,50, 200,250)
34
34
  gc.line(350,150, 350,250)
35
35
 
36
36
  # Annotate
37
+ gc.font_weight(Magick::NormalWeight)
38
+ gc.font_style(Magick::NormalStyle)
37
39
  gc.fill('black')
38
40
  gc.stroke('transparent')
39
41
  gc.text(30,170, "'50,150'")
@@ -18,6 +18,7 @@ result = imgs.montage {
18
18
  self.background_color = 'black'
19
19
  self.stroke = 'transparent'
20
20
  self.fill = 'white'
21
+ self.pointsize =9
21
22
  self.geometry = Magick::Geometry.new(img.columns/2, img.rows/2, 5, 5)
22
23
  }
23
24
 
@@ -21,6 +21,8 @@ gc.fill_opacity(1)
21
21
  gc.circle(125,125, 128,128)
22
22
 
23
23
  # Annotate the dots
24
+ gc.font_weight(Magick::NormalWeight)
25
+ gc.font_style(Magick::NormalStyle)
24
26
  gc.fill('black')
25
27
  gc.stroke('transparent')
26
28
  gc.text(132,125, "'125,125'")
@@ -8,7 +8,7 @@ SamplePath = {:fill=>'none', :stroke=>'red', :stroke_width=>5}
8
8
  EndPoint = {:fill=>'none', :stroke=>'#888', :stroke_width=>2}
9
9
  CtlPoint = {:fill=>'#888', :stroke=>'none'}
10
10
  AutoCtlPoint = {:fill=>'none', :stroke=>'blue', :stroke_width=>4}
11
- Label = {:font_size=>22, :font_family=>'Verdana'}
11
+ Label = {:font_size=>22, :font_family=>'Verdana', :font_weight=>'normal', :font_style=>'normal'}
12
12
 
13
13
  rvg = Magick::RVG.new(5.cm, 4.cm).viewbox(0, 0, 500, 400) do |canvas|
14
14
  canvas.title = "Example cubic01 - cubic Bezier commands in path data"
@@ -8,7 +8,7 @@ SamplePath = { :fill=>'none', :stroke=>'red', :stroke_width=>5 }
8
8
  EndPoint = { :fill=>'none', :stroke=>'#888888', :stroke_width=>2 }
9
9
  CtlPoint = { :fill=>'#888888', :stroke=>'none' }
10
10
  AutoCtlPoint = { :fill=>'none', :stroke=>'blue', :stroke_width=>4 }
11
- Label = { :text_anchor=>'middle', :font_size=>22, :font_family=>'Verdana' }
11
+ Label = { :text_anchor=>'middle', :font_size=>22, :font_family=>'Verdana', :font_weight=>'normal', :font_style=>'normal' }
12
12
 
13
13
  rvg = Magick::RVG.new(10.cm, 10.cm).viewbox(0, 0, 1000, 1000) do |canvas|
14
14
  canvas.title = 'Example cubic02 - cubic Bezier commands in path data'
@@ -27,6 +27,8 @@ gc.circle(180+150, 125, 180+150+3, 125+3)
27
27
  gc.circle(180, 125-75, 180+3, 125-75+3)
28
28
 
29
29
  # Annotate
30
+ gc.font_weight(Magick::NormalWeight)
31
+ gc.font_style(Magick::NormalStyle)
30
32
  gc.fill_opacity(1)
31
33
  gc.circle(180,125, 183,128)
32
34
  gc.fill('black')
@@ -6,18 +6,20 @@ rvg = Magick::RVG.new(200, 250) do |canvas|
6
6
  canvas.background_fill = 'white'
7
7
 
8
8
  canvas.g do |grp|
9
- grp.text(10, 30, "default size")
10
- grp.text(10, 50, ":font_size=>14").styles(:font_size=>14)
11
- grp.text(10, 70, ":font_size=>16").styles(:font_size=>16)
12
- grp.text(10,100, ":font_size=>24").styles(:font_size=>24)
9
+ grp.g.styles(:font_weight=>'normal', :font_style=>'normal') do |grp2|
10
+ grp2.text(10, 30, "default size")
11
+ grp2.text(10, 50, ":font_size=>14").styles(:font_size=>14)
12
+ grp2.text(10, 70, ":font_size=>16").styles(:font_size=>16)
13
+ grp2.text(10,100, ":font_size=>24").styles(:font_size=>24)
14
+ end
13
15
  end
14
16
 
15
- canvas.g.styles(:font_size=>14) do |grp|
16
- if RUBY_PLATFORM =~ /mswin32/
17
- grp.text( 8, 120, ":font_family=>'Courier-New'").styles(:font_family=>'Courier-New')
18
- else
19
- grp.text( 8, 120, ":font_family=>'Courier'").styles(:font_family=>'Courier')
20
- end
17
+ canvas.g.styles(:font_size=>14, :font_weight=>'normal', :font_style=>'normal') do |grp|
18
+ if RUBY_PLATFORM =~ /mswin32/
19
+ grp.text( 8, 120, ":font_family=>'Courier-New'").styles(:font_family=>'Courier-New')
20
+ else
21
+ grp.text( 8, 120, ":font_family=>'Courier'").styles(:font_family=>'Courier')
22
+ end
21
23
  grp.text(10, 140, ":font_weight=>'bold'").styles(:font_weight=>'bold')
22
24
  grp.text(10, 160, ":font_stretch=>'normal'").styles(:font_stretch=>'normal')
23
25
  grp.text(10, 180, ":font_stretch=>'condensed'").styles(:font_stretch=>'condensed')
@@ -130,6 +130,8 @@ gc.brace(10, metrics.max_advance)
130
130
  gc.pop
131
131
 
132
132
  # Add labels
133
+ gc.font_weight(Magick::NormalWeight)
134
+ gc.font_style(Magick::NormalStyle)
133
135
  gc.stroke('none')
134
136
  gc.fill('black')
135
137
  gc.text(metrics.width+40, -(metrics.ascent/2)+4, 'ascent')
@@ -15,6 +15,8 @@ gc.line(200,20, 200,180)
15
15
  gc.line(20,100, 380,100)
16
16
 
17
17
  # Draw text at all 9 compass points.
18
+ gc.font_weight(Magick::NormalWeight)
19
+ gc.font_style(Magick::NormalStyle)
18
20
  gc.stroke('transparent')
19
21
  gc.fill('black')
20
22
  gc.gravity(Magick::NorthWestGravity)
@@ -31,7 +31,7 @@ rvg = Magick::RVG.new(525, 270) do |canvas|
31
31
  canvas.line(345, 20, 500, 20)
32
32
  canvas.line(150, 250, 305, 250)
33
33
  canvas.line(340, 250, 500, 250)
34
- canvas.g.styles(:stroke=>'none') do |t|
34
+ canvas.g.styles(:stroke=>'none', :font_weight=>'normal', :font_style=>'normal') do |t|
35
35
  t.text(310, 23, 'meet')
36
36
  t.text(60, 140, 'none')
37
37
  t.text(170, 140, 'xMinYMin')
@@ -27,6 +27,8 @@ gc.circle(50,200, 53,203)
27
27
  gc.circle(200,200, 203,203)
28
28
 
29
29
  # Annotate the endpoints
30
+ gc.font_weight(Magick::NormalWeight)
31
+ gc.font_style(Magick::NormalStyle)
30
32
  gc.fill('black')
31
33
  gc.stroke('transparent')
32
34
  gc.text(30,40, "'50,50'")
@@ -22,13 +22,15 @@ gc.roundrectangle(140,20, 180,90, 5,5)
22
22
  gc.opacity(1)
23
23
  gc.roundrectangle(200,20, 240,90, 5,5)
24
24
 
25
+ gc.font_weight(Magick::NormalWeight)
26
+ gc.font_style(Magick::NormalStyle)
25
27
  gc.stroke('transparent')
26
28
  gc.fill('black')
27
29
  gc.gravity(Magick::SouthGravity)
28
- gc.text(-90,20, '"25%%"')
29
- gc.text(-30,20, '"50%%"')
30
- gc.text( 30,20, '"75%%"')
31
- gc.text( 90,20, '"100%%"')
30
+ gc.text(-90,15, '"25%"')
31
+ gc.text(-30,15, '"50%"')
32
+ gc.text( 30,15, '"75%"')
33
+ gc.text( 90,15, '"100%"')
32
34
 
33
35
  gc.draw(canvas)
34
36
 
@@ -39,6 +39,8 @@ gc.stroke_width 3
39
39
  gc.circle 170,220, 173,223
40
40
 
41
41
  # Add labels
42
+ gc.font_weight Magick::NormalWeight
43
+ gc.font_style Magick::NormalStyle
42
44
  gc.stroke "none" # unset stroke color
43
45
  gc.fill 'black'
44
46
 
@@ -9,6 +9,8 @@ img[:Caption] = "\nLosha\n" + Date.today.to_s
9
9
 
10
10
  begin
11
11
  picture = img.polaroid do
12
+ self.font_weight = Magick::NormalWeight
13
+ self.font_style = Magick::NormalStyle
12
14
  self.gravity = Magick::CenterGravity
13
15
  self.border_color = "#f0f0f8"
14
16
  end
@@ -33,6 +33,9 @@ gc.line 120,25, 320,275
33
33
  gc.line 320,275, 420,150
34
34
 
35
35
  # Add labels
36
+ gc.font_weight Magick::NormalWeight
37
+ gc.font_style Magick::NormalStyle
38
+
36
39
  # Add end point labels
37
40
  gc.text 30,155, "'20,150'"
38
41
  gc.text 230,155, "'220,150'"
@@ -20,6 +20,8 @@ gc.circle(20,20, 23,23)
20
20
  gc.circle(280, 180, 283, 183)
21
21
 
22
22
  # Annotate
23
+ gc.font_weight(Magick::NormalWeight)
24
+ gc.font_style(Magick::NormalStyle)
23
25
  gc.fill('black')
24
26
  gc.stroke('transparent')
25
27
  gc.text(30,35, "'20,20'")
@@ -28,6 +28,8 @@ gc.line( max_x, 0, max_x-10, -10)
28
28
  gc.line( max_x, 0, max_x-10, 10)
29
29
 
30
30
  # Add labels
31
+ gc.font_weight(Magick::NormalWeight)
32
+ gc.font_style(Magick::NormalStyle)
31
33
  gc.fill('black')
32
34
  gc.stroke('transparent')
33
35
 
@@ -20,6 +20,8 @@ gc.circle(20,20, 23,23)
20
20
  gc.circle(280,180, 283,183)
21
21
 
22
22
  # Annotate
23
+ gc.font_weight(Magick::NormalWeight)
24
+ gc.font_style(Magick::NormalStyle)
23
25
  gc.fill('black')
24
26
  gc.stroke('transparent')
25
27
  gc.text(30,35, "'20,20'")
@@ -34,6 +34,8 @@ gc.draw(imgl)
34
34
  # Add labels using "normal" skew
35
35
  gc = Magick::Draw.new
36
36
  gc.pointsize(14)
37
+ gc.font_weight(Magick::NormalWeight)
38
+ gc.font_style(Magick::NormalStyle)
37
39
  gc.stroke('transparent')
38
40
  gc.gravity(Magick::CenterGravity)
39
41
  gc.text(10, -10, "'0,0'")
@@ -32,6 +32,8 @@ gc.draw(imgl)
32
32
  # Add labels
33
33
  gc = Magick::Draw.new
34
34
  gc.pointsize(14)
35
+ gc.font_weight(Magick::NormalWeight)
36
+ gc.font_style(Magick::NormalStyle)
35
37
  gc.stroke('transparent')
36
38
  gc.gravity(Magick::CenterGravity)
37
39
  gc.text(15, 0, "'0,0'")
@@ -25,6 +25,8 @@ gc.line(10, 140, 490, 140)
25
25
 
26
26
  gc.fill('black')
27
27
  gc.stroke('transparent')
28
+ gc.font_weight(Magick::NormalWeight)
29
+ gc.font_style(Magick::NormalStyle)
28
30
 
29
31
  gc.gravity(Magick::CenterGravity)
30
32
  gc.text( 0, -60, "'gc.stroke_dasharray(30, 10, 10, 10)'")
@@ -33,6 +33,8 @@ gc.stroke_width(1)
33
33
  gc.line(10,30,490,30)
34
34
 
35
35
  # Annotate
36
+ gc.font_weight(Magick::NormalWeight)
37
+ gc.font_style(Magick::NormalStyle)
36
38
  gc.fill('black')
37
39
  gc.stroke('transparent')
38
40
  gc.text(60,70,"'5'")
@@ -8,10 +8,11 @@ imgl.new_image(190,190)
8
8
  sample = Magick::Draw.new
9
9
  sample.stroke('transparent')
10
10
  if RUBY_PLATFORM =~ /mswin32/
11
- sample.font_family('Georgia')
11
+ sample.font_family('Georgia')
12
12
  else
13
- sample.font_family('times')
13
+ sample.font_family('times')
14
14
  end
15
+ sample.font_weight(Magick::NormalWeight)
15
16
  sample.pointsize(24)
16
17
 
17
18
  sample.font_style(Magick::NormalStyle)
@@ -6,7 +6,7 @@ rvg = Magick::RVG.new(10.cm, 3.cm).viewbox(0,0,1000,300) do |canvas|
6
6
  canvas.background_fill = 'white'
7
7
  canvas.desc = "Example text01 - 'Hello, out there' in blue"
8
8
  canvas.text(250, 150, "Hello, out there").
9
- styles(:font_family=>'Verdana', :font_size=>55, :fill=>'blue')
9
+ styles(:font_family=>'Verdana', :font_size=>55, :fill=>'blue', :font_weight=>'normal', :font_style=>'normal')
10
10
  canvas.circle(5, 250, 150).styles(:fill=>'red')
11
11
 
12
12
  # Show outline of canvas using 'rect' element
@@ -5,7 +5,7 @@ require 'rvg/rvg'
5
5
  rvg = Magick::RVG.new(200, 100) do |canvas|
6
6
  canvas.background_fill = 'white'
7
7
 
8
- canvas.g.styles(:font_size=>16) do |grp|
8
+ canvas.g.styles(:font_size=>16, :font_weight=>'normal', :font_style=>'normal') do |grp|
9
9
  grp.text( 30, 30, ":text_anchor=>'start'").styles(:text_anchor=>'start')
10
10
  grp.circle(1, 30, 30).styles(:stroke=>'red')
11
11
  grp.text(100, 50, ":text_anchor=>'middle'").styles(:text_anchor=>'middle')
@@ -7,6 +7,8 @@ canvas = Magick::Image.new(250, 100) {self.background_color ='white'}
7
7
 
8
8
  gc = Magick::Draw.new
9
9
 
10
+ gc.font_weight(Magick::NormalWeight)
11
+ gc.font_style(Magick::NormalStyle)
10
12
  gc.stroke('transparent')
11
13
  gc.pointsize(16)
12
14
  gc.gravity(Magick::CenterGravity)
@@ -24,10 +24,12 @@ gc.line( max_x, 0, max_x-10, -10)
24
24
  gc.line( max_x, 0, max_x-10, 10)
25
25
 
26
26
  # Add labels
27
+ gc.font_weight(Magick::NormalWeight)
28
+ gc.font_style(Magick::NormalStyle)
27
29
  gc.fill('black')
28
30
  gc.stroke('transparent')
29
31
  gc.text(8, 15, "'0,0'")
30
- gc.text(110, 16, "x")
32
+ gc.text(105, 16, "x")
31
33
  gc.text(12, 115, "y")
32
34
 
33
35
  gc.draw(imgl)
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.8.0: class ImageList</title>
9
+ <title>RMagick 2.9.0: class ImageList</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -20,7 +20,7 @@
20
20
  </head>
21
21
 
22
22
  <body>
23
- <h6 id="header">RMagick 2.8.0 User's Guide and Reference</h6>
23
+ <h6 id="header">RMagick 2.9.0 User's Guide and Reference</h6>
24
24
 
25
25
  <div class="nav">
26
26
  &laquo;&nbsp;<a href="magick.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.8.0: class Image (class methods and instance
9
+ <title>RMagick 2.9.0: class Image (class methods and instance
10
10
  methods a-d)</title>
11
11
  <meta http-equiv="Content-Type" content=
12
12
  "text/html; charset=us-ascii" />
@@ -48,7 +48,7 @@
48
48
  </head>
49
49
 
50
50
  <body>
51
- <h6 id="header">RMagick 2.8.0 User's Guide and Reference</h6>
51
+ <h6 id="header">RMagick 2.9.0 User's Guide and Reference</h6>
52
52
 
53
53
  <div class="nav">
54
54
  &laquo;&nbsp;<a href="imageattrs.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.8.0: class Image (instance methods e-o)</title>
9
+ <title>RMagick 2.9.0: class Image (instance methods e-o)</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -47,7 +47,7 @@
47
47
  </head>
48
48
 
49
49
  <body>
50
- <h6 id="header">RMagick 2.8.0 User's Guide and Reference</h6>
50
+ <h6 id="header">RMagick 2.9.0 User's Guide and Reference</h6>
51
51
 
52
52
  <div class="nav">
53
53
  &laquo;&nbsp;<a href="image1.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.8.0: class Image (instance methods p-w)</title>
9
+ <title>RMagick 2.9.0: class Image (instance methods p-w)</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -51,7 +51,7 @@
51
51
  </head>
52
52
 
53
53
  <body>
54
- <h6 id="header">RMagick 2.8.0 User's Guide and Reference</h6>
54
+ <h6 id="header">RMagick 2.9.0 User's Guide and Reference</h6>
55
55
 
56
56
  <div class="nav">
57
57
  &laquo;&nbsp;<a href="image2.html">Prev</a> | <a href=
@@ -858,7 +858,38 @@ end
858
858
  <li><code>XorQuantumOperator</code></li>
859
859
 
860
860
  <li><code>PowQuantumOperator</code></li>
861
- </ul>
861
+
862
+ <li><code>LogQuantumOperator</code></li>
863
+
864
+ <li><code>ThresholdQuantumOperator</code></li>
865
+
866
+ <li><code>ThresholdBlackQuantumOperator</code></li>
867
+
868
+ <li><code>ThresholdWhiteQuantumOperator</code></li>
869
+
870
+ <li><code>GaussianNoiseQuantumOperator</code></li>
871
+
872
+ <li><code>ImpulseNoiseQuantumOperator</code></li>
873
+
874
+ <li><code>LaplacianNoiseQuantumOperator</code></li>
875
+
876
+ <li><code>MultiplicativeNoiseQuantumOperator</code></li>
877
+
878
+ <li><code>PoissonNoiseQuantumOperator</code></li>
879
+
880
+ <li><code>UniformNoiseQuantumOperator</code></li>
881
+
882
+ <li><code>CosineQuantumOperator</code></li>
883
+
884
+ <li><code>SineQuantumOperator</code></li>
885
+
886
+ <li><code>AddModulusQuantumOperator</code></li>
887
+ </ul>Some of these constants are not defined in older
888
+ releases of ImageMagick. To see which ones are defined,
889
+ enter this statement in IRB:
890
+ <pre>
891
+ Magick::QuantumExpressionOperator.values {|v| puts v}
892
+ </pre>
862
893
  </dd>
863
894
 
864
895
  <dt>rvalue</dt>
@@ -868,7 +899,7 @@ end
868
899
  <dt>channel</dt>
869
900
 
870
901
  <dd>A <a href="constants.html#ChannelType">ChannelType</a>
871
- value. The default is to operate on all channels.</dd>
902
+ value. The default is to operate on the R, G. and B channels.</dd>
872
903
  </dl>
873
904
 
874
905
  <h4>Returns</h4>
@@ -1439,7 +1470,7 @@ random_threshold_channel(geom, RedChannel)
1439
1470
  "padding-left:62px; padding-right: 62px; padding-top: 87px;padding-bottom:87px;"
1440
1471
  id="after_resize_to_fill" onmouseover=
1441
1472
  "this.style.display='none'; before_resize_to_fill.style.display='';"
1442
- alt="resize_to_fill example" />
1473
+ alt="resize_to_fill example" />
1443
1474
  <!-- This img tag displays the before image when moused over -->
1444
1475
  <img src="ex/images/Flower_Hat.jpg" style="display: none" id=
1445
1476
  "before_resize_to_fill" onmouseout=
@@ -1534,7 +1565,7 @@ random_threshold_channel(geom, RedChannel)
1534
1565
  <img id="rtfless" style="display: none" onmouseout=
1535
1566
  "this.style.display='none';rtf.style.display='';" src=
1536
1567
  "ex/images/Flower_Hat.jpg" alt="resize_to_fit example" title=
1537
- "Click to see the example script" />
1568
+ "Click to see the example script" />
1538
1569
  <!-- This img tag displays the framed image when the mouse is not over-->
1539
1570
  <img style=
1540
1571
  "padding-left:69px; padding-right: 69px; padding-top: 87px;padding-bottom:87px;"