rmagick 2.9.2 → 2.10.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.
- data/ChangeLog +10 -0
- data/README.html +98 -210
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +25 -3
- data/doc/draw.html +2 -2
- data/doc/ilist.html +2 -2
- data/doc/image1.html +15 -6
- data/doc/image2.html +12 -6
- data/doc/image3.html +71 -6
- data/doc/imageattrs.html +2 -2
- data/doc/imusage.html +2 -2
- data/doc/index.html +3 -3
- data/doc/info.html +2 -2
- data/doc/magick.html +2 -2
- data/doc/optequiv.html +11 -2
- data/doc/rvg.html +2 -2
- data/doc/rvgclip.html +2 -2
- data/doc/rvggroup.html +2 -2
- data/doc/rvgimage.html +2 -2
- data/doc/rvgpattern.html +2 -2
- data/doc/rvgshape.html +2 -2
- data/doc/rvgstyle.html +2 -2
- data/doc/rvgtext.html +2 -2
- data/doc/rvgtspan.html +2 -2
- data/doc/rvgtut.html +2 -2
- data/doc/rvguse.html +2 -2
- data/doc/rvgxform.html +2 -2
- data/doc/struct.html +2 -2
- data/doc/usage.html +5 -3
- data/ext/RMagick/MANIFEST +1 -1
- data/ext/RMagick/extconf.rb +18 -98
- data/ext/RMagick/rmagick.h +2 -9
- data/ext/RMagick/rmdraw.c +11 -16
- data/ext/RMagick/rmenum.c +7 -35
- data/ext/RMagick/rmilist.c +1 -26
- data/ext/RMagick/rmimage.c +52 -169
- data/ext/RMagick/rmmain.c +87 -54
- data/ext/RMagick/rmpixel.c +2 -14
- data/ext/RMagick/rmutil.c +1 -73
- data/rmagick.gemspec +1 -1
- metadata +7 -15
data/ChangeLog
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
RMagick 2.10.0
|
2
|
+
o ImageMagick releases earlier than 6.3.5-10 and Ruby releases earlier
|
3
|
+
than 1.8.5 no longer supported.
|
4
|
+
o (Experimental) Support the use of Ruby managed memory for all memory
|
5
|
+
allocations (available in ImageMagick 6.5.3-10)
|
6
|
+
o Add Image#selective_blur_channel (available in ImageMagick 6.5.0-3)
|
7
|
+
o Add new AlphaBackgroundChannel enum value (available in ImageMagick
|
8
|
+
6.5.2-5)
|
9
|
+
o Add new DistortCompositeOp enum value (available in ImageMagick 6.5.3-7)
|
10
|
+
|
1
11
|
RMagick 2.9.2
|
2
12
|
o Add new HorizontalTileEdgeVirtualPixelMethod,
|
3
13
|
VerticalTileEdgeVirtualPixelMethod, CheckerTileVirtualPixelMethod
|
data/README.html
CHANGED
@@ -1,267 +1,156 @@
|
|
1
1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>RMagick 2.
|
4
|
+
<title>RMagick 2.10.0 README</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6
6
|
<meta name="GENERATOR" content="RedCloth">
|
7
7
|
</head>
|
8
8
|
<body>
|
9
|
-
<h1>RMagick 2.
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<h3>Table of Contents</h3>
|
16
|
-
|
17
|
-
|
18
|
-
<ul>
|
9
|
+
<h1>RMagick 2.10.0 <span class="caps">README</span></h1>
|
10
|
+
<h2>06/19/09</h2>
|
11
|
+
<h3>Table of Contents</h3>
|
12
|
+
<ul>
|
19
13
|
<li><a href="#intro">Introduction</a></li>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
<h2 id="intro">Introduction</h2>
|
35
|
-
|
36
|
-
|
37
|
-
<p>RMagick is an interface between the Ruby programming language and the
|
14
|
+
<li><a href="#prereq">Prerequisites</a></li>
|
15
|
+
<li><a href="#install">Installing RMagick</a></li>
|
16
|
+
<li><a href="#config">Configuration Options</a></li>
|
17
|
+
<li><a href="#wrong">Things that can go wrong</a></li>
|
18
|
+
<li><a href="#upgrade">Upgrading</a></li>
|
19
|
+
<li><a href="#uninstall">Uninstalling</a></li>
|
20
|
+
<li><a href="#samples">More samples</a></li>
|
21
|
+
<li><a href="#bugs">Reporting Bugs</a></li>
|
22
|
+
<li><a href="#contact">Contact Information</a></li>
|
23
|
+
<li><a href="#credits">Credits</a></li>
|
24
|
+
<li><a href="#license">License</a></li>
|
25
|
+
</ul>
|
26
|
+
<h2 id="intro">Introduction</h2>
|
27
|
+
<p>RMagick is an interface between the Ruby programming language and the<br />
|
38
28
|
ImageMagick image processing library.</p>
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
<p><strong>O/S</strong> Linux, *BSD, <span class="caps">OS X</span>, Windows 2000, XP, Vista, other *nix-like systems.</p>
|
45
|
-
|
46
|
-
|
47
|
-
<p><strong>Ruby</strong> Version 1.8.2 or later. You can get Ruby from <a href="http://www.ruby-lang.org">www.ruby-lang.org</a>.
|
48
|
-
The use of versions of Ruby older than 1.8.4 with RMagick is deprecated. Support will be
|
29
|
+
<h2 id="prereq">Prerequisites</h2>
|
30
|
+
<p><strong>O/S</strong> Linux, *<span class="caps">BSD</span>, OS X, Windows 2000, XP, Vista, other *nix-like systems.</p>
|
31
|
+
<p><strong>Ruby</strong> Version 1.8.2 or later. You can get Ruby from <a href="http://www.ruby-lang.org">www.ruby-lang.org</a>.<br />
|
32
|
+
The use of versions of Ruby older than 1.8.4 with RMagick is deprecated. Support will be<br />
|
49
33
|
removed in a future release.</p>
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<p>First install ImageMagick. Complete and up-to-date instructions for installing
|
59
|
-
ImageMagick on Linux, *BSD, and other *nix-type O/S’s are available
|
60
|
-
<a href="http://rmagick.rubyforge.org/install-linux.html">here</a>. Use steps 0, 1, and 2.
|
61
|
-
Similarly, instructions for installing ImageMagick using MacPorts on <span class="caps">OS X</span>
|
62
|
-
are available <a href="http://rmagick.rubyforge.org/install-osx.html">here</a>. Use steps
|
34
|
+
<p><strong>ImageMagick</strong> Version 6.3.0 or later. You can get ImageMagick from <a href="http://www.imagemagick.org">www.imagemagick.org</a>.</p>
|
35
|
+
<h2 id="install">Installing RMagick</h2>
|
36
|
+
<p>First install ImageMagick. Complete and up-to-date instructions for installing<br />
|
37
|
+
ImageMagick on Linux, *<span class="caps">BSD</span>, and other *nix-type O/S’s are available<br />
|
38
|
+
<a href="http://rmagick.rubyforge.org/install-linux.html">here</a>. Use steps 0, 1, and 2.<br />
|
39
|
+
Similarly, instructions for installing ImageMagick using MacPorts on OS X<br />
|
40
|
+
are available <a href="http://rmagick.rubyforge.org/install-osx.html">here</a>. Use steps<br />
|
63
41
|
1 and 2.</p>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<p>I assume you’ve already decompressed the tarball, or you wouldn’t be reading
|
73
|
-
this. If you have not decompressed the tarball, do so with one of these commands,
|
42
|
+
<p>This release of RMagick uses Minero Aoki’s setup.rb script for installation.<br />
|
43
|
+
See the next section for configuration options. Usually you do not need to<br />
|
44
|
+
specify any of these options. You can get more information about setup.rb from<br />
|
45
|
+
his “web site”:<http://i.loveruby.net.</p>
|
46
|
+
<p>I assume you’ve already decompressed the tarball, or you wouldn’t be reading<br />
|
47
|
+
this. If you have not decompressed the tarball, do so with one of these commands,<br />
|
74
48
|
depending on which tarball you have:</p>
|
75
|
-
|
76
|
-
|
77
49
|
<pre>
|
78
|
-
tar xvzf RMagick-2.
|
79
|
-
tar xvjf RMagick-2.
|
50
|
+
tar xvzf RMagick-2.10.0-tar.gz (gzipped tarball)
|
51
|
+
tar xvjf RMagick-2.10.0-tar.bz2 (bzipped tarball)
|
80
52
|
7z e RMagick-x.y.z.tar.lzma -so | tar xv (7zipped tarball)
|
81
53
|
</pre>
|
82
|
-
|
83
|
-
<p>Change to the RMagick-2.9.2 directory. If you are not using any
|
54
|
+
<p>Change to the RMagick-2.10.0 directory. If you are not using any<br />
|
84
55
|
configuration options (usually you don’t need to) enter the command</p>
|
85
|
-
|
86
|
-
|
87
56
|
<pre>
|
88
57
|
ruby setup.rb
|
89
58
|
</pre>
|
90
|
-
|
91
|
-
|
92
|
-
some time. This process both builds the example images used in the
|
59
|
+
<p>Note that setup.rb executes all the example programs, so this can take<br />
|
60
|
+
some time. This process both builds the example images used in the<br />
|
93
61
|
documentation and validates your RMagick installation.</p>
|
94
|
-
|
95
|
-
|
96
|
-
<p>After this command completes, make sure you have root privileges (that
|
62
|
+
<p>After this command completes, make sure you have root privileges (that<br />
|
97
63
|
is, login as root or use su or sudo) and enter the command</p>
|
98
|
-
|
99
|
-
|
100
64
|
<pre>
|
101
65
|
ruby setup.rb install
|
102
66
|
</pre>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<p>Type <code>ruby setup.rb --help</code> to see a list of configuration options. In
|
67
|
+
<h2 id="config">Configuration options</h2>
|
68
|
+
<p>Type <code>ruby setup.rb --help</code> to see a list of configuration options. In<br />
|
108
69
|
addition to the regular options, there are a few RMagick-specific options:</p>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<p>Specify the directory to install the RMagick documentation.
|
115
|
-
By default this is $prefix/share/RMagick, where $prefix is the
|
116
|
-
prefix specified by—prefix. For example, to install the
|
70
|
+
<h4>—doc-dir=directory</h4>
|
71
|
+
<p>Specify the directory to install the RMagick documentation.<br />
|
72
|
+
By default this is $prefix/share/RMagick, where $prefix is the<br />
|
73
|
+
prefix specified by —prefix. For example, to install the<br />
|
117
74
|
documentation in /Users/me/RMagick, specify:</p>
|
118
|
-
|
119
|
-
|
120
75
|
<pre>
|
121
76
|
ruby setup.rb --doc-dir=/Users/me/RMagick
|
122
77
|
</pre>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
<p>Normally the documentation installation terminates if 5 examples fail.
|
128
|
-
If you use this option, the installation does not check for failing
|
129
|
-
examples and will always complete. This option is useful if you’re
|
78
|
+
<h4>—allow-example-errors</h4>
|
79
|
+
<p>Normally the documentation installation terminates if 5 examples fail.<br />
|
80
|
+
If you use this option, the installation does not check for failing<br />
|
81
|
+
examples and will always complete. This option is useful if you’re<br />
|
130
82
|
having trouble installing RMagick and you want to see all the failing examples.</p>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<p>By default the install process runs all the RMagick example programs and
|
137
|
-
generates <span class="caps">HTML</span> versions of all the examples. This option causes the
|
138
|
-
install process to skip this step. No install verification will take
|
83
|
+
<h4>— disable-htmldoc</h4>
|
84
|
+
<p>By default the install process runs all the RMagick example programs and<br />
|
85
|
+
generates <span class="caps">HTML</span> versions of all the examples. This option causes the<br />
|
86
|
+
install process to skip this step. No install verification will take<br />
|
139
87
|
place and no documentation will be installed.</p>
|
140
|
-
|
141
|
-
|
142
|
-
<h2 id="wrong">Things that can go wrong</h2>
|
143
|
-
|
144
|
-
|
145
|
-
<p>The <a href="http://rmagick.rubyforge.org/install-faq.html">RMagick installation <span class="caps">FAQ</span></a>
|
88
|
+
<h2 id="wrong">Things that can go wrong</h2>
|
89
|
+
<p>The <a href="http://rmagick.rubyforge.org/install-faq.html">RMagick installation <span class="caps">FAQ</span></a><br />
|
146
90
|
has answers to the most commonly reported problems.</p>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<p>Typically this message means that one or more of the libraries that ImageMagick
|
153
|
-
depends on hasn’t been installed. Examine the mkmf.log file in the ext/RMagick
|
154
|
-
subdirectory of the installation directory for any error messages. These messages
|
155
|
-
typically contain enough additional information for you to be able to diagnose
|
91
|
+
<h4>Can’t install RMagick. Can’t find libMagick or one of the dependent libraries. Check the mkmf.log file for more detailed information.</h4>
|
92
|
+
<p>Typically this message means that one or more of the libraries that ImageMagick<br />
|
93
|
+
depends on hasn’t been installed. Examine the mkmf.log file in the ext/RMagick<br />
|
94
|
+
subdirectory of the installation directory for any error messages. These messages<br />
|
95
|
+
typically contain enough additional information for you to be able to diagnose<br />
|
156
96
|
the problem. Also see <a href="http://rmagick.rubyforge.org/install-faq.html#libmagick">this <span class="caps">FAQ</span></a>.</p>
|
157
|
-
|
158
|
-
|
159
|
-
<h4>Cannot open shared object file</h4>
|
160
|
-
|
161
|
-
|
162
|
-
<p>If you get a message like this:</p>
|
163
|
-
|
164
|
-
|
97
|
+
<h4>Cannot open shared object file</h4>
|
98
|
+
<p>If you get a message like this:</p>
|
165
99
|
<pre>
|
166
100
|
$DIR/RMagick.rb:11:in `require': libMagick.so.0:
|
167
101
|
cannot open shared object file: No such file or directory -
|
168
102
|
$DIR/RMagick2.so (LoadError)
|
169
103
|
</pre>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
/usr/local/lib. (By default this is where it is installed.) Create the
|
104
|
+
<p>you probably do not have the directory in which the ImageMagick library<br />
|
105
|
+
is installed in your load path. An easy way to fix this is to define<br />
|
106
|
+
the directory in the LD_LIBRARY_PATH environment variable. For<br />
|
107
|
+
example, suppose you installed the ImageMagick library libMagick.so in<br />
|
108
|
+
/usr/local/lib. (By default this is where it is installed.) Create the<br />
|
176
109
|
LD_LIBRARY_PATH variable like this:</p>
|
177
|
-
|
178
|
-
|
179
110
|
<pre>
|
180
111
|
export LD_LIBRARY_PATH=/usr/local/lib
|
181
112
|
</pre>
|
182
|
-
|
183
|
-
<p>On Linux, see <code>ld(1)</code> and <code>ld.so(8)</code> for more information. On other operating
|
113
|
+
<p>On Linux, see <code>ld(1)</code> and <code>ld.so(8)</code> for more information. On other operating<br />
|
184
114
|
systems, see the documentation for the dynamic loading facility.</p>
|
185
|
-
|
186
|
-
|
187
|
-
<h4>No such file or directory – ”/tmp/rmagick6872.6”</h4>
|
188
|
-
|
189
|
-
|
190
|
-
<p>When setup.rb is running the examples, if you get a message like this:</p>
|
191
|
-
|
192
|
-
|
115
|
+
<h4>No such file or directory – “/tmp/rmagick6872.6”</h4>
|
116
|
+
<p>When setup.rb is running the examples, if you get a message like this:</p>
|
193
117
|
<pre>
|
194
|
-
hook /home/me/src/RMagick-2.
|
195
|
-
No such file or directory - "/tmp/rmagick6872.6"
|
118
|
+
hook /home/me/src/RMagick-2.10.0/./post-setup.rb failed:
|
119
|
+
No such file or directory - "/tmp/rmagick6872.6"
|
196
120
|
</pre>
|
197
|
-
|
198
|
-
<p>you probably do not have a temporary directory environment variable set. Set
|
121
|
+
<p>you probably do not have a temporary directory environment variable set. Set<br />
|
199
122
|
the <span class="caps">TMPDIR</span> environment variable to your temporary directory. For example:</p>
|
200
|
-
|
201
|
-
|
202
123
|
<pre>
|
203
124
|
export TMPDIR=/home/me/tmp
|
204
125
|
</pre>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
<p>If you upgrade to a newer release of ImageMagick, make sure you’re using a
|
210
|
-
release of RMagick that supports that release. It’s safe to install a new
|
126
|
+
<h2 id="upgrade">Upgrading</h2>
|
127
|
+
<p>If you upgrade to a newer release of ImageMagick, make sure you’re using a<br />
|
128
|
+
release of RMagick that supports that release. It’s safe to install a new<br />
|
211
129
|
release of RMagick over an earlier release.</p>
|
212
|
-
|
213
|
-
|
214
|
-
<h2 id="uninstall">Uninstalling</h2>
|
215
|
-
|
216
|
-
|
217
|
-
<p>The uninstall.rb script will uninstall RMagick completely. Make sure you
|
130
|
+
<h2 id="uninstall">Uninstalling</h2>
|
131
|
+
<p>The uninstall.rb script will uninstall RMagick completely. Make sure you<br />
|
218
132
|
have administrator priviledges. Then run this command:</p>
|
219
|
-
|
220
|
-
|
221
133
|
<pre>
|
222
134
|
ruby uninstall.rb
|
223
135
|
</pre>
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
<p>You can find more sample RMagick programs in the /example directory.
|
136
|
+
<h2 id="samples">More samples</h2>
|
137
|
+
<p>You can find more sample RMagick programs in the /example directory.<br />
|
229
138
|
These programs are not installed in the RMagick documentation tree.</p>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
programs to me via the bug tracker on the <a href="http://rubyforge.org/projects/rmagick">RMagick project page</a>.
|
237
|
-
However, I can’t help with Ruby installation and configuration or ImageMagick
|
238
|
-
installation and configuration. Information about reporting problems and
|
239
|
-
getting help for ImageMagick is available at the <a href="http://www.imagemagick.org">ImageMagick web site</a>
|
139
|
+
<h2 id="bugs">Reporting bugs</h2>
|
140
|
+
<p>Please report bugs in RMagick, its documentation, or its installation<br />
|
141
|
+
programs to me via the bug tracker on the <a href="http://rubyforge.org/projects/rmagick">RMagick project page</a>.<br />
|
142
|
+
However, I can’t help with Ruby installation and configuration or ImageMagick<br />
|
143
|
+
installation and configuration. Information about reporting problems and<br />
|
144
|
+
getting help for ImageMagick is available at the <a href="http://www.imagemagick.org">ImageMagick web site</a><br />
|
240
145
|
or the <a href="http://www.imagemagick.org/discourse-server">ImageMagick Forum</a>.</p>
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
<p><strong>Email:</strong> <a href="mailto:rmagick@rubyforge.org">rmagick@rubyforge.org</a></p>
|
250
|
-
|
251
|
-
|
252
|
-
<p><strong>Web site:</strong> <a href="http://rmagick.rubyforge.org">http://rmagick.rubyforge.org</a></p>
|
253
|
-
|
254
|
-
|
255
|
-
<h2 id="credits">Credits</h2>
|
256
|
-
|
257
|
-
|
258
|
-
<p>Thanks to <a href="http://www.imagemagick.org">ImageMagick Studio <span class="caps">LLC</span></a> for ImageMagick
|
146
|
+
<h2 id="contact">Contact Information</h2>
|
147
|
+
<p><strong>Author:</strong> Tim Hunter</p>
|
148
|
+
<p><strong>Email:</strong> <a href="mailto:rmagick@rubyforge.org">rmagick@rubyforge.org</a></p>
|
149
|
+
<p><strong>Web site:</strong> <a href="http://rmagick.rubyforge.org">http://rmagick.rubyforge.org</a></p>
|
150
|
+
<h2 id="credits">Credits</h2>
|
151
|
+
<p>Thanks to <a href="http://www.imagemagick.org">ImageMagick Studio <span class="caps">LLC</span></a> for ImageMagick<br />
|
259
152
|
and for hosting the RMagick documentation.</p>
|
260
|
-
|
261
|
-
|
262
|
-
<h2 id="license">License</h2>
|
263
|
-
|
264
|
-
|
153
|
+
<h2 id="license">License</h2>
|
265
154
|
<pre>
|
266
155
|
Copyright � 2002-2009 by Timothy P. Hunter
|
267
156
|
|
@@ -283,9 +172,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
283
172
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
284
173
|
DEALINGS IN THE SOFTWARE.
|
285
174
|
</pre>
|
286
|
-
|
287
175
|
<hr>
|
288
|
-
This file is marked up using <a href="http://hobix.com/textile/">Textile</a> and converted
|
289
|
-
to <span class="caps">HTML</span> with <a href="http://whytheluckystiff.net/ruby/redcloth/">RedCloth</a
|
176
|
+
<p>This file is marked up using <a href="http://hobix.com/textile/">Textile</a> and converted<br />
|
177
|
+
to <span class="caps">HTML</span> with <a href="http://whytheluckystiff.net/ruby/redcloth/">RedCloth</a>.</p>
|
290
178
|
</body>
|
291
179
|
</html>
|
data/doc/comtasks.html
CHANGED
@@ -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.
|
9
|
+
<title>RMagick 2.10.0: Common Tasks</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -31,7 +31,7 @@
|
|
31
31
|
</head>
|
32
32
|
|
33
33
|
<body>
|
34
|
-
<h6 id="header">RMagick 2.
|
34
|
+
<h6 id="header">RMagick 2.10.0 User's Guide and Reference</h6>
|
35
35
|
|
36
36
|
<div class="nav">
|
37
37
|
« <a href="optequiv.html">Prev</a> | <a href=
|
data/doc/constants.html
CHANGED
@@ -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.
|
9
|
+
<title>RMagick 2.10.0: Constants</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -61,7 +61,7 @@
|
|
61
61
|
</head>
|
62
62
|
|
63
63
|
<body>
|
64
|
-
<h6 id="header">RMagick 2.
|
64
|
+
<h6 id="header">RMagick 2.10.0 User's Guide and Reference</h6>
|
65
65
|
|
66
66
|
<div class="nav">
|
67
67
|
« <a href="info.html">Prev</a> | <a href=
|
@@ -157,7 +157,7 @@
|
|
157
157
|
|
158
158
|
<dd>An extended form of the <code>Version</code> constant with
|
159
159
|
the format shown here:<br />
|
160
|
-
<code>This is RMagick 2.0.0 ($Date:
|
160
|
+
<code>This is RMagick 2.0.0 ($Date: 2009/06/19 22:08:03 $)
|
161
161
|
Copyright (C) 2008 by Timothy P. Hunter<br />
|
162
162
|
Built with ImageMagick 6.3.7 01/05/08 Q16
|
163
163
|
http://www.imagemagick.org<br />
|
@@ -171,6 +171,20 @@
|
|
171
171
|
<code>@(#)ImageMagick X.Y.Z MM/DD/YY Q:16
|
172
172
|
http://www.imagemagick.org</code></dd>
|
173
173
|
|
174
|
+
<dt>MANAGED_MEMORY</dt>
|
175
|
+
|
176
|
+
<dd>
|
177
|
+
If <code>true</code>, RMagick is using Ruby managed memory
|
178
|
+
for all allocations. If <code>false</code>, RMagick allocates
|
179
|
+
memory for objects directly from the operating system. You
|
180
|
+
can enable RMagick to use Ruby managed memory (when built
|
181
|
+
with ImageMagick 6.4.0-11 and later) by setting
|
182
|
+
<pre>
|
183
|
+
|
184
|
+
RMAGICK_ENABLE_MANAGED_MEMORY = true
|
185
|
+
</pre><em>before</em> requiring RMagick.
|
186
|
+
</dd>
|
187
|
+
|
174
188
|
<dt>QuantumRange</dt>
|
175
189
|
|
176
190
|
<dd>The maximum value of a <em>Quantum</em>. A quantum is one
|
@@ -497,6 +511,10 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
|
|
497
511
|
<code>composite image</code> outside of <code>image</code>'s
|
498
512
|
shape does not appear in the result.</dd>
|
499
513
|
|
514
|
+
<dt>BlurCompositeOp</dt>
|
515
|
+
|
516
|
+
<dd>?</dd>
|
517
|
+
|
500
518
|
<dt>BumpmapCompositeOp</dt>
|
501
519
|
|
502
520
|
<dd class="imquote">The result <code>image</code> shaded by
|
@@ -600,6 +618,10 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
|
|
600
618
|
<dd>The operator used in the <a href=
|
601
619
|
"image1.html#dissolve">dissolve</a> method.</dd>
|
602
620
|
|
621
|
+
<dt>DistortCompositeOp</dt>
|
622
|
+
|
623
|
+
<dd>?</dd>
|
624
|
+
|
603
625
|
<dt>DivideCompositeOp</dt>
|
604
626
|
|
605
627
|
<dd>?</dd>
|