rmagick 2.6.0 → 2.7.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.

@@ -4,50 +4,50 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml">
5
5
  <head>
6
6
  <meta name="generator" content=
7
- "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
7
+ "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: class Image (instance methods e-o)</title>
9
+ <title>RMagick 2.7.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" />
13
13
  <meta name="Copyright" content=
14
14
  "Copyright (C) 2006 by Timothy P. Hunter" />
15
15
  <link rel="stylesheet" type="text/css" href="css/doc.css" />
16
- <script type="text/javascript" src="scripts/doc.js">
16
+ <script type="text/javascript" src="scripts/doc.js">
17
17
  </script>
18
- <script type="text/javascript" src="scripts/stripeTables.js">
18
+ <script type="text/javascript" src="scripts/stripeTables.js">
19
19
  </script>
20
- <script type="text/javascript">
21
- //<![CDATA[
20
+ <script type="text/javascript">
21
+ //<![CDATA[
22
22
  addLoadEvent(stripeTables);
23
23
  //]]>
24
- </script>
25
- <script type="text/javascript">
26
- //<![CDATA[
24
+ </script>
25
+ <script type="text/javascript">
26
+ //<![CDATA[
27
27
  <!-- Pre-load this image so that the browser knows how big it is. -->
28
28
  <!-- Begin
29
29
  flower_hat = new Image();
30
30
  flower_hat.src = "ex/images/Flower_Hat.jpg";
31
31
  // End -->
32
32
  //]]>
33
- </script>
34
- <style type="text/css">
35
- /*<![CDATA[*/
36
- #iptc {
33
+ </script>
34
+ <style type="text/css">
35
+ /*<![CDATA[*/
36
+ #iptc {
37
37
  border: thin solid black;
38
- }
39
- #iptc th {
38
+ }
39
+ #iptc th {
40
40
  background-color: #c0c0c0;
41
- }
42
- td.ds {
41
+ }
42
+ td.ds {
43
43
  text-align: right;
44
- }
44
+ }
45
45
  /*]]>*/
46
- </style>
46
+ </style>
47
47
  </head>
48
48
 
49
49
  <body>
50
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
50
+ <h6 id="header">RMagick 2.7.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=
@@ -2688,8 +2688,7 @@ img.level(white_point, gamma, black_point) -&gt; image # wrong!
2688
2688
  <h4>Notes</h4>
2689
2689
 
2690
2690
  <p>This method is deprecated when using ImageMagick 6.4.3-6 and
2691
- later. Use <a href="image1.html#affinity">affinity</a>
2692
- instead.</p>
2691
+ later. Use <a href="image3.html#remap">remap</a> instead.</p>
2693
2692
 
2694
2693
  <h4>See also</h4>
2695
2694
 
@@ -4,28 +4,28 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml">
5
5
  <head>
6
6
  <meta name="generator" content=
7
- "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
7
+ "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: class Image (instance methods p-w)</title>
9
+ <title>RMagick 2.7.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" />
13
13
  <meta name="Copyright" content=
14
14
  "Copyright (C) 2006 by Timothy P. Hunter" />
15
15
  <link rel="stylesheet" type="text/css" href="css/doc.css" />
16
- <script type="text/javascript" src="scripts/doc.js">
16
+ <script type="text/javascript" src="scripts/doc.js">
17
17
  </script>
18
- <script type="text/javascript">
19
- //<![CDATA[
18
+ <script type="text/javascript">
19
+ //<![CDATA[
20
20
  <!-- Pre-load this image so that the browser knows how big it is. -->
21
21
  <!-- Begin
22
22
  flower_hat = new Image();
23
23
  flower_hat.src = "ex/images/Flower_Hat.jpg";
24
24
  // End -->
25
25
  //]]>
26
- </script>
27
- <style type="text/css">
28
- /*<![CDATA[*/
26
+ </script>
27
+ <style type="text/css">
28
+ /*<![CDATA[*/
29
29
 
30
30
  /*
31
31
  * This style is used for the list of PreviewType
@@ -47,11 +47,11 @@
47
47
  }
48
48
 
49
49
  /*]]>*/
50
- </style>
50
+ </style>
51
51
  </head>
52
52
 
53
53
  <body>
54
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
54
+ <h6 id="header">RMagick 2.7.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=
@@ -106,6 +106,8 @@
106
106
 
107
107
  <li><a href="#reduce_noise">reduce_noise</a></li>
108
108
 
109
+ <li><a href="#remap">remap</a></li>
110
+
109
111
  <li><a href="#resample">resample</a></li>
110
112
 
111
113
  <li><a href="#resize">resize</a></li>
@@ -124,13 +126,13 @@
124
126
  <li><a href="#roll">roll</a></li>
125
127
 
126
128
  <li><a href="#rotate">rotate</a></li>
127
-
128
- <li><a href="#rotate_bang">rotate!</a></li>
129
129
  </ul>
130
130
  </div>
131
131
 
132
132
  <div class="toccol">
133
133
  <ul>
134
+ <li><a href="#rotate_bang">rotate!</a></li>
135
+
134
136
  <li><a href="#sample">sample</a></li>
135
137
 
136
138
  <li><a href="#sample_bang">sample!</a></li>
@@ -170,7 +172,6 @@
170
172
  <li><a href="#sketch">sketch</a></li>
171
173
 
172
174
  <li><a href="#solarize">solarize</a></li>
173
-
174
175
  <!-- <li><a href="#sparse_color">sparse_color</a></li> -->
175
176
 
176
177
  <li><a href="#splice">splice</a></li>
@@ -1176,6 +1177,63 @@ random_threshold_channel(geom, RedChannel)
1176
1177
  <p>ReduceNoiseImage</p>
1177
1178
  </div>
1178
1179
 
1180
+ <div class="sig">
1181
+ <h3 id="remap">remap</h3>
1182
+
1183
+ <p><span class="arg">img</span>.remap(<span class=
1184
+ "arg">remap_image</span>, <span class=
1185
+ "arg">dither</span>=RiemersmaDitherMethod) -&gt;
1186
+ <em>self</em></p>
1187
+ </div>
1188
+
1189
+ <div class="desc">
1190
+ <h4>Description</h4>
1191
+
1192
+ <p>Reduce the number of colors in <span class="arg">img</span>
1193
+ to the colors used by <span class="arg">remap_image</span>. If
1194
+ a dither method is specified <span class="imquote">then the
1195
+ given colors are dithered over the image as necessary,
1196
+ otherwise the closest color (in RGB colorspace) is selected to
1197
+ replace that pixel in the image.</span></p>
1198
+
1199
+ <h4>Arguments</h4>
1200
+
1201
+ <dl>
1202
+ <dt>remap_image</dt>
1203
+
1204
+ <dd>The reference image</dd>
1205
+
1206
+ <dt>dither</dt>
1207
+
1208
+ <dd>A <a href="constants.html#DitherMethod">DitherMethod</a>
1209
+ value. RiemersmaDitherMethod is the default. To disable
1210
+ dithering specify NoDitherMethod.</dd>
1211
+ </dl>
1212
+
1213
+ <h4>Returns</h4>
1214
+
1215
+ <p>self</p>
1216
+
1217
+ <h4>Example</h4>
1218
+
1219
+ <p class="rollover"><a href=
1220
+ "javascript:popup('remap.rb.html')"><img onmouseover=
1221
+ "this.src='ex/images/Flower_Hat.jpg'" onmouseout=
1222
+ "this.src='ex/remap.jpg'" src="ex/remap.jpg" alt=
1223
+ "remap example" title="Click to see the example script" /></a>
1224
+ <img src="ex/images/spin.gif" alt="" class="spin" style=
1225
+ "left: 202px;" title=
1226
+ "Mouse over the example to see the original image" /></p>
1227
+
1228
+ <h4>See also</h4>
1229
+
1230
+ <p><a href="ilist.html#remap">ImageList#remap</a></p>
1231
+
1232
+ <h4>Magick API</h4>
1233
+
1234
+ <p>RemapImage (available in ImageMagick 6.4.3-6)</p>
1235
+ </div>
1236
+
1179
1237
  <div class="sig">
1180
1238
  <h3 id="resample">resample</h3>
1181
1239
 
@@ -2528,9 +2586,7 @@ img.properties &raquo;
2528
2586
  <h4>Magick API</h4>
2529
2587
 
2530
2588
  <p>SolarizeImage</p>
2531
- </div>
2532
-
2533
- <!--
2589
+ </div><!--
2534
2590
  <div class="sig">
2535
2591
  <h3 id="sparse_color">sparse_color</h3>
2536
2592
 
@@ -2612,6 +2668,7 @@ img.properties &raquo;
2612
2668
  <p>SparseColorInterpolate (available in 6.4.2)</p>
2613
2669
  </div>
2614
2670
  -->
2671
+
2615
2672
  <div class="sig">
2616
2673
  <h3 id="splice">splice</h3>
2617
2674
 
@@ -2664,7 +2721,7 @@ img.properties &raquo;
2664
2721
  id="spliced" onmouseover=
2665
2722
  "this.style.display='none';nosplice.style.display='';" src=
2666
2723
  "ex/splice.jpg" alt="splice example" /></a> <img src=
2667
- "ex/images/spin.gif" alt="" style="margin-bottom: 280px" title=
2724
+ "ex/images/spin.gif" alt="" style="margin-bottom: 250px" title=
2668
2725
  "Mouse over the example to see the original image" /></p>
2669
2726
 
2670
2727
  <h4>See also</h4>
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: class Image (attribute methods)</title>
9
+ <title>RMagick 2.7.0: class Image (attribute methods)</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -25,7 +25,7 @@
25
25
  </head>
26
26
 
27
27
  <body>
28
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
28
+ <h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
29
29
 
30
30
  <div class="nav">
31
31
  &laquo;&nbsp;<a href="ilist.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: ImageMagick Conventions</title>
9
+ <title>RMagick 2.7.0: ImageMagick Conventions</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -69,7 +69,7 @@
69
69
  </head>
70
70
 
71
71
  <body>
72
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
72
+ <h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
73
73
 
74
74
  <div class="nav">
75
75
  &laquo;&nbsp;<a href="usage.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0 User's Guide and Reference</title>
9
+ <title>RMagick 2.7.0 User's Guide and Reference</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <p id="magick">Ruby+ImageMagick<span class="tm">TM</span><br />
108
- Version 2.6.0</p>
108
+ Version 2.7.0</p>
109
109
 
110
110
  <h1>User's Guide and Reference</h1>
111
111
 
@@ -293,7 +293,7 @@
293
293
 
294
294
  <h3>About this document</h3>
295
295
 
296
- <p>This document describes Version 2.6.0 of RMagick. It is
296
+ <p>This document describes Version 2.7.0 of RMagick. It is
297
297
  divided into 4 parts. The first is this page. The second part is
298
298
  a user's guide covering both RMagick and ImageMagick usage and
299
299
  conventions. The third part is a reference guide to the
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: class Image::Info - Optional method
9
+ <title>RMagick 2.7.0: class Image::Info - Optional method
10
10
  arguments</title>
11
11
  <meta http-equiv="Content-Type" content=
12
12
  "text/html; charset=us-ascii" />
@@ -44,7 +44,7 @@
44
44
  </head>
45
45
 
46
46
  <body>
47
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
47
+ <h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
48
48
 
49
49
  <div class="nav">
50
50
  &laquo;&nbsp;<a href="struct.html">Prev</a> | <a href=
@@ -6,7 +6,7 @@
6
6
  <meta name="generator" content=
7
7
  "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: module Magick</title>
9
+ <title>RMagick 2.7.0: module Magick</title>
10
10
  <meta http-equiv="Content-Type" content=
11
11
  "text/html; charset=us-ascii" />
12
12
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -24,7 +24,7 @@
24
24
  </head>
25
25
 
26
26
  <body>
27
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
27
+ <h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
28
28
 
29
29
  <div class="nav">
30
30
  &laquo;&nbsp;<a href="comtasks.html">Prev</a> | <a href=
@@ -4,9 +4,9 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml">
5
5
  <head>
6
6
  <meta name="generator" content=
7
- "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
7
+ "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.6.0: Magick Command Options and Their Equivalent
9
+ <title>RMagick 2.7.0: Magick Command Options and Their Equivalent
10
10
  Methods</title>
11
11
  <meta http-equiv="Content-Type" content=
12
12
  "text/html; charset=us-ascii" />
@@ -14,45 +14,45 @@
14
14
  <meta name="Copyright" content=
15
15
  "Copyright (C) 2006 by Timothy P. Hunter" />
16
16
  <link rel="stylesheet" type="text/css" href="css/doc.css" />
17
- <script type="text/javascript" src="scripts/doc.js">
17
+ <script type="text/javascript" src="scripts/doc.js">
18
18
  </script>
19
- <script type="text/javascript" src="scripts/stripeTables.js">
19
+ <script type="text/javascript" src="scripts/stripeTables.js">
20
20
  </script>
21
- <script type="text/javascript">
22
- //<![CDATA[
21
+ <script type="text/javascript">
22
+ //<![CDATA[
23
23
  addLoadEvent(stripeTables);
24
24
  //]]>
25
- </script>
26
- <style type="text/css">
27
- /*<![CDATA[*/
25
+ </script>
26
+ <style type="text/css">
27
+ /*<![CDATA[*/
28
28
 
29
29
  /* Styles local to this page. */
30
- table {
30
+ table {
31
31
  margin-top: 2em;
32
32
  margin-left: 5%;
33
33
  width: 95%;
34
34
  border: 1px solid #545454;
35
- }
35
+ }
36
36
 
37
- th {
37
+ th {
38
38
  padding: 2px;
39
39
  vertical-align: top;
40
40
  background-color: #c0c0c0;
41
41
  width:50%;
42
- }
42
+ }
43
43
 
44
- td {
44
+ td {
45
45
  padding: 2px;
46
46
  vertical-align :top;
47
- }
47
+ }
48
48
 
49
- .intro p {
49
+ .intro p {
50
50
  margin-left: 5%;
51
51
  margin-right: 5%;
52
52
  padding: 5px;
53
- }
53
+ }
54
54
 
55
- .intro h3 {
55
+ .intro h3 {
56
56
  margin: 0 0;
57
57
  margin-top: 1em;
58
58
  padding-left: 5px;
@@ -66,11 +66,11 @@ td {
66
66
  }
67
67
 
68
68
  /*]]>*/
69
- </style>
69
+ </style>
70
70
  </head>
71
71
 
72
72
  <body>
73
- <h6 id="header">RMagick 2.6.0 User's Guide and Reference</h6>
73
+ <h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
74
74
 
75
75
  <div class="nav">
76
76
  &laquo; <a href="index.html">Prev</a> | <a href=
@@ -177,16 +177,6 @@ td {
177
177
  annotation)</td>
178
178
  </tr>
179
179
 
180
- <tr>
181
- <td>-affinity<br />
182
- +affinity</td>
183
-
184
- <td>Image#<a href=
185
- "image1.html#affinity">affinity</a>(<em>affinity_image</em>,
186
- <em>dither</em>=RiemersmaDitherMethod)<br />
187
- ImageList#<a href="ilist.html#affinity">affinity</a>()</td>
188
- </tr>
189
-
190
180
  <tr>
191
181
  <td>-alpha <em>type</em></td>
192
182
 
@@ -1438,6 +1428,16 @@ td {
1438
1428
  <td>No equivalent</td>
1439
1429
  </tr>
1440
1430
 
1431
+ <tr>
1432
+ <td>-remap<br />
1433
+ +remap</td>
1434
+
1435
+ <td>Image#<a href=
1436
+ "image1.html#remap">remap</a>(<em>remap_image</em>,
1437
+ <em>dither</em>=RiemersmaDitherMethod)<br />
1438
+ ImageList#<a href="ilist.html#remap">remap</a>()</td>
1439
+ </tr>
1440
+
1441
1441
  <tr>
1442
1442
  <td>-remote</td>
1443
1443