rmagick 1.15.17 → 2.0.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 +78 -25
- data/README.html +117 -188
- data/README.txt +116 -181
- data/build_tarball.rake +205 -0
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +118 -44
- data/doc/draw.html +57 -99
- data/doc/ex/adaptive_threshold.rb +1 -10
- data/doc/ex/add_noise.rb +4 -5
- data/doc/ex/axes.rb +1 -1
- data/doc/ex/bilevel_channel.rb +2 -13
- data/doc/ex/bounding_box.rb +3 -4
- data/doc/ex/channel.rb +6 -7
- data/doc/ex/clip_path.rb +11 -5
- data/doc/ex/color_histogram.rb +8 -20
- data/doc/ex/composite_layers.rb +53 -0
- data/doc/ex/fill_pattern.rb +26 -0
- data/doc/ex/get_multiline_type_metrics.rb +26 -37
- data/doc/ex/get_type_metrics.rb +25 -25
- data/doc/ex/images/notimplemented.gif +0 -0
- data/doc/ex/level.rb +1 -1
- data/doc/ex/matte_floodfill.rb +5 -6
- data/doc/ex/matte_replace.rb +5 -6
- data/doc/ex/negate_channel.rb +0 -10
- data/doc/ex/opacity.rb +3 -5
- data/doc/ex/polaroid.rb +4 -1
- data/doc/ex/posterize.rb +1 -12
- data/doc/ex/preview.rb +1 -8
- data/doc/ex/radial_blur.rb +1 -11
- data/doc/ex/raise.rb +1 -4
- data/doc/ex/random_threshold_channel.rb +4 -9
- data/doc/ex/sepiatone.rb +2 -9
- data/doc/ex/shadow.rb +12 -18
- data/doc/ex/sketch.rb +2 -9
- data/doc/ex/smile.rb +7 -7
- data/doc/ex/splice.rb +3 -10
- data/doc/ex/stegano.rb +5 -0
- data/doc/ex/threshold.rb +2 -2
- data/doc/ex/transpose.rb +1 -8
- data/doc/ex/transverse.rb +1 -8
- data/doc/ex/trim.rb +1 -2
- data/doc/ex/viewex.rb +4 -5
- data/doc/ex/vignette.rb +1 -8
- data/doc/ex/watermark.rb +1 -0
- data/doc/ex/wet_floor.rb +8 -14
- data/doc/ilist.html +301 -110
- data/doc/image1.html +362 -258
- data/doc/image2.html +429 -286
- data/doc/image3.html +418 -192
- data/doc/imageattrs.html +100 -39
- data/doc/imusage.html +26 -21
- data/doc/index.html +52 -93
- data/doc/info.html +160 -64
- data/doc/magick.html +37 -71
- data/doc/optequiv.html +155 -61
- data/doc/rvg.html +3 -3
- data/doc/rvgclip.html +2 -2
- data/doc/rvggroup.html +2 -2
- data/doc/rvgimage.html +3 -3
- data/doc/rvgpattern.html +3 -3
- data/doc/rvgshape.html +2 -2
- data/doc/rvgstyle.html +2 -2
- data/doc/rvgtext.html +2 -2
- data/doc/rvgtspan.html +4 -4
- data/doc/rvgtut.html +4 -4
- data/doc/rvguse.html +3 -3
- data/doc/rvgxform.html +2 -2
- data/doc/struct.html +26 -29
- data/doc/usage.html +99 -48
- data/examples/crop_with_gravity.rb +46 -0
- data/examples/demo.rb +2 -2
- data/examples/histogram.rb +11 -11
- data/examples/identify.rb +45 -45
- data/examples/spinner.rb +3 -2
- data/ext/RMagick/MANIFEST +7 -8
- data/ext/RMagick/extconf.rb +242 -0
- data/ext/RMagick/rmagick.h +136 -222
- data/ext/RMagick/rmdraw.c +226 -229
- data/ext/RMagick/rmfill.c +69 -118
- data/ext/RMagick/rmilist.c +234 -94
- data/ext/RMagick/rmimage.c +1719 -2564
- data/ext/RMagick/rminfo.c +433 -619
- data/ext/RMagick/rmmain.c +249 -487
- data/ext/RMagick/rmutil.c +344 -563
- data/lib/RMagick.rb +414 -358
- data/lib/rvg/clippath.rb +2 -2
- data/lib/rvg/container.rb +2 -2
- data/lib/rvg/describable.rb +2 -2
- data/lib/rvg/embellishable.rb +2 -2
- data/lib/rvg/misc.rb +3 -3
- data/lib/rvg/paint.rb +2 -7
- data/lib/rvg/pathdata.rb +2 -2
- data/lib/rvg/rvg.rb +2 -2
- data/lib/rvg/stretchable.rb +2 -14
- data/lib/rvg/stylable.rb +2 -2
- data/lib/rvg/text.rb +2 -2
- data/lib/rvg/transformable.rb +2 -2
- data/lib/rvg/units.rb +2 -2
- data/{metaconfig.in → metaconfig} +0 -1
- data/post-setup.rb +1 -1
- data/rmagick.gemspec +6 -9
- metadata +41 -49
- data/Makefile.in +0 -42
- data/configure +0 -12358
- data/configure.ac +0 -791
- data/ext/RMagick/extconf.rb.in +0 -25
- data/ext/RMagick/rmagick_config.h.in +0 -285
- data/gem_extconf.rb +0 -42
data/doc/info.html
CHANGED
@@ -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
|
7
|
+
"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick
|
9
|
+
<title>RMagick 2.0.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
|
47
|
+
<h6 id="header">RMagick 2.0.0 User's Guide and Reference</h6>
|
48
48
|
|
49
49
|
<div class="nav">
|
50
50
|
« <a href="struct.html">Prev</a> | <a href=
|
@@ -77,6 +77,8 @@
|
|
77
77
|
<ul>
|
78
78
|
<li><a href="#antialias">antialias</a></li>
|
79
79
|
|
80
|
+
<li><a href="#attenuate">attenuate</a></li>
|
81
|
+
|
80
82
|
<li><a href="#authenticate">authenticate</a></li>
|
81
83
|
|
82
84
|
<li><a href="#background_color">background_color</a></li>
|
@@ -98,13 +100,13 @@
|
|
98
100
|
<li><a href="#dispose">dispose</a></li>
|
99
101
|
|
100
102
|
<li><a href="#dither">dither</a></li>
|
103
|
+
|
104
|
+
<li><a href="#extract">extract</a></li>
|
101
105
|
</ul>
|
102
106
|
</div>
|
103
107
|
|
104
108
|
<div class="toccol">
|
105
109
|
<ul>
|
106
|
-
<li><a href="#extract">extract</a></li>
|
107
|
-
|
108
110
|
<li><a href="#filename">filename</a></li>
|
109
111
|
|
110
112
|
<li><a href="#fill">fill</a></li>
|
@@ -126,17 +128,17 @@
|
|
126
128
|
<li><a href="#matte_color">matte_color</a></li>
|
127
129
|
|
128
130
|
<li><a href="#monitor">monitor</a></li>
|
129
|
-
</ul>
|
130
|
-
</div>
|
131
131
|
|
132
|
-
<div class="toccol">
|
133
|
-
<ul>
|
134
132
|
<li><a href="#monochrome">monochrome</a></li>
|
135
133
|
|
136
134
|
<li><a href="#orientation">orientation</a></li>
|
137
135
|
|
138
136
|
<li><a href="#origin">origin</a></li>
|
137
|
+
</ul>
|
138
|
+
</div>
|
139
139
|
|
140
|
+
<div class="toccol">
|
141
|
+
<ul>
|
140
142
|
<li><a href="#page">page</a></li>
|
141
143
|
|
142
144
|
<li><a href="#pointsize">pointsize</a></li>
|
@@ -149,8 +151,16 @@
|
|
149
151
|
|
150
152
|
<li><a href="#size">size</a></li>
|
151
153
|
|
154
|
+
<li><a href="#stroke">stroke</a></li>
|
155
|
+
|
156
|
+
<li><a href="#stroke_width">stroke_width</a></li>
|
157
|
+
|
158
|
+
<li><a href="#tile_offset">tile_offset</a></li>
|
159
|
+
|
152
160
|
<li><a href="#texture">texture</a></li>
|
153
161
|
|
162
|
+
<li><a href="#undercolor">undercolor</a></li>
|
163
|
+
|
154
164
|
<li><a href="#units">units</a></li>
|
155
165
|
|
156
166
|
<li><a href="#view">view</a></li>
|
@@ -177,7 +187,7 @@
|
|
177
187
|
that is, only those attributes that are meaningful for the
|
178
188
|
particular method. Any other attributes that you set are
|
179
189
|
ignored. Also, some attributes are only used by a subset of the
|
180
|
-
image formats. See the
|
190
|
+
image formats. See the ImageMagick documentation for more
|
181
191
|
information.</p>
|
182
192
|
|
183
193
|
<p>Remember, you do not ever need to create an
|
@@ -199,27 +209,30 @@
|
|
199
209
|
<p><span class="arg">self</span>[<span class=
|
200
210
|
"arg">format</span>, <span class="arg">key</span>] =
|
201
211
|
<span class="arg">value</span> -> <span class=
|
212
|
+
"arg">self</span><br />
|
213
|
+
<span class="arg">self</span>[<span class="arg">key</span>] =
|
214
|
+
<span class="arg">value</span> -> <span class=
|
202
215
|
"arg">self</span></p>
|
203
216
|
</div>
|
204
217
|
|
205
218
|
<div class="desc">
|
206
219
|
<h4>Description</h4>
|
207
220
|
|
208
|
-
<p>Define
|
221
|
+
<p>Define an option. An alternative to <a href=
|
209
222
|
"#define">define</a>, below. Use this method to set options for
|
210
|
-
reading or writing certain image formats.
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
of the library you're using.</p>
|
223
|
+
reading or writing certain image formats. The list of supported
|
224
|
+
options changes from release to release. For a list of the
|
225
|
+
valid image formats, keys, and values, refer to the
|
226
|
+
documentation for the -define option for the release of
|
227
|
+
ImageMagick installed on your system.</p>
|
216
228
|
|
217
229
|
<h4>Arguments</h4>
|
218
230
|
|
219
231
|
<dl>
|
220
232
|
<dt>format</dt>
|
221
233
|
|
222
|
-
<dd>An image format name such as "ps" or "tiff"
|
234
|
+
<dd>An image format name such as "ps" or "tiff". (Depending
|
235
|
+
on the key, this argument may be omitted.)</dd>
|
223
236
|
|
224
237
|
<dt>key</dt>
|
225
238
|
|
@@ -243,8 +256,7 @@ self["tiff", "bits-per-sample"] = 2
|
|
243
256
|
|
244
257
|
<h4>Magick API</h4>
|
245
258
|
|
246
|
-
<p>SetImageOption
|
247
|
-
(GraphicsMagick 1.1)</p>
|
259
|
+
<p>SetImageOption</p>
|
248
260
|
</div>
|
249
261
|
|
250
262
|
<div class="sig">
|
@@ -252,7 +264,9 @@ self["tiff", "bits-per-sample"] = 2
|
|
252
264
|
|
253
265
|
<p><span class="arg">self</span>[<span class=
|
254
266
|
"arg">format</span>, <span class="arg">key</span>] ->
|
255
|
-
<
|
267
|
+
<em>value</em><br />
|
268
|
+
<span class="arg">self</span>[<span class="arg">key</span>]
|
269
|
+
-> <em>value</em></p>
|
256
270
|
</div>
|
257
271
|
|
258
272
|
<div class="desc">
|
@@ -266,7 +280,8 @@ self["tiff", "bits-per-sample"] = 2
|
|
266
280
|
<dl>
|
267
281
|
<dt>format</dt>
|
268
282
|
|
269
|
-
<dd>An image format name such as "ps" or "tiff"
|
283
|
+
<dd>An image format name such as "ps" or "tiff". (Depending
|
284
|
+
on the key, this argument may be omitted.)</dd>
|
270
285
|
|
271
286
|
<dt>key</dt>
|
272
287
|
|
@@ -284,8 +299,7 @@ self["tiff", "bits-per-sample"] » 2
|
|
284
299
|
|
285
300
|
<h4>Magick API</h4>
|
286
301
|
|
287
|
-
<p>GetImageOption
|
288
|
-
(GraphicsMagick 1.1)</p>
|
302
|
+
<p>GetImageOption</p>
|
289
303
|
</div>
|
290
304
|
|
291
305
|
<div class="sig">
|
@@ -326,8 +340,8 @@ self["tiff", "bits-per-sample"] » 2
|
|
326
340
|
<div class="desc">
|
327
341
|
<h4>Description</h4>
|
328
342
|
|
329
|
-
<p>Define a format-specific option. See <a href=
|
330
|
-
above.</p>
|
343
|
+
<p>Define a format-specific option. See <a href=
|
344
|
+
"#aset">[]=</a>, above.</p>
|
331
345
|
|
332
346
|
<h4>Arguments</h4>
|
333
347
|
|
@@ -358,8 +372,7 @@ self.define("tiff", "bits-per-sample", 2)
|
|
358
372
|
|
359
373
|
<h4>Magick API</h4>
|
360
374
|
|
361
|
-
<p>SetImageOption
|
362
|
-
(GraphicsMagick 1.1)</p>
|
375
|
+
<p>SetImageOption</p>
|
363
376
|
</div>
|
364
377
|
|
365
378
|
<div class="sig">
|
@@ -419,6 +432,20 @@ self.undefine("tiff", "bits-per-sample")
|
|
419
432
|
is <code>true</code>.</p>
|
420
433
|
</div>
|
421
434
|
|
435
|
+
<div class="sig">
|
436
|
+
<h3 id="attenuate">attenuate</h3>
|
437
|
+
|
438
|
+
<p><span class="arg">self</span>.attenuate= <span class=
|
439
|
+
"arg">aNumeric</span></p>
|
440
|
+
</div>
|
441
|
+
|
442
|
+
<div class="desc">
|
443
|
+
<h4>Description</h4>
|
444
|
+
|
445
|
+
<p class="imquote">Lessen (or intensify) when adding noise to
|
446
|
+
an image.</p>
|
447
|
+
</div>
|
448
|
+
|
422
449
|
<div class="sig">
|
423
450
|
<h3 id="authenticate">authenticate</h3>
|
424
451
|
|
@@ -482,7 +509,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
482
509
|
<div class="desc">
|
483
510
|
<h4>Description</h4>
|
484
511
|
|
485
|
-
<p>
|
512
|
+
<p>Specifies the image pixel interpretation.</p>
|
486
513
|
|
487
514
|
<h4>Arguments</h4>A <a href=
|
488
515
|
"constants.html#ColorspaceType">ColorspaceType</a> constant.
|
@@ -520,7 +547,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
520
547
|
<div class="desc">
|
521
548
|
<h4>Description</h4>
|
522
549
|
|
523
|
-
<p>
|
550
|
+
<p>Specifies the type of compression used when writing the image.
|
524
551
|
Only some image formats support compression. For those that do,
|
525
552
|
only some compression types are supported. If you specify an
|
526
553
|
compression type that is not supported, the default compression
|
@@ -568,8 +595,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
568
595
|
<tr>
|
569
596
|
<td>GIF</td>
|
570
597
|
|
571
|
-
<td><strong>LZWCompression</strong>
|
572
|
-
below)</em></td>
|
598
|
+
<td><strong>LZWCompression</strong></td>
|
573
599
|
</tr>
|
574
600
|
|
575
601
|
<tr>
|
@@ -672,17 +698,10 @@ self.undefine("tiff", "bits-per-sample")
|
|
672
698
|
<li>NoCompression is accepted for all image formats. Except
|
673
699
|
as noted in the table, it is the default.</li>
|
674
700
|
|
675
|
-
<li>
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
support to use LZWCompression (in releases prior to July 10,
|
680
|
-
2004) and LosslessJPEGCompression.</li>
|
681
|
-
|
682
|
-
<li>This table is based on my examination of the
|
683
|
-
×Magick source code. It is not necessarily complete and
|
684
|
-
it may contain mistakes. If you need an authoritative list,
|
685
|
-
you should consult the ×Magick developers.</li>
|
701
|
+
<li>This table is based on my examination of the ImageMagick
|
702
|
+
source code. It is not necessarily complete and it may
|
703
|
+
contain mistakes. If you need an authoritative list, you
|
704
|
+
should consult the ImageMagick developers.</li>
|
686
705
|
</ol>
|
687
706
|
|
688
707
|
<h4>Arguments</h4>A <a href=
|
@@ -699,12 +718,12 @@ self.undefine("tiff", "bits-per-sample")
|
|
699
718
|
<div class="desc">
|
700
719
|
<h4>Description</h4>
|
701
720
|
|
702
|
-
<p>
|
721
|
+
<p>Specifies the vertical and horizontal resolution in pixels.
|
703
722
|
The default density is "72.0x72.0". This attribute can be used
|
704
723
|
when writing JBIG, PCL, PS, PS2, and PS3 format images.</p>
|
705
724
|
|
706
725
|
<p>This attribute can also be used to specify the width and
|
707
|
-
height of
|
726
|
+
height of HISTOGRRAM format images. For HISTOGRAM, the default
|
708
727
|
is 256x200.</p>
|
709
728
|
|
710
729
|
<h4>Arguments</h4>
|
@@ -743,13 +762,13 @@ self.undefine("tiff", "bits-per-sample")
|
|
743
762
|
<div class="desc">
|
744
763
|
<h4>Description</h4>
|
745
764
|
|
746
|
-
<p>
|
765
|
+
<p>Specifies the image depth.</p>
|
747
766
|
|
748
767
|
<h4>Arguments</h4>
|
749
768
|
|
750
769
|
<p>Either 8, 16, or 32. You can specify 16 and 32 only when
|
751
|
-
|
752
|
-
|
770
|
+
ImageMagick was compiled with a QuantumDepth that allows these
|
771
|
+
depth values.</p>
|
753
772
|
|
754
773
|
<p>Use <code>depth</code> to specify the depth of CMYK, GRAY,
|
755
774
|
RGB, RGBA, MAP, and XC format images. See also <a href=
|
@@ -806,7 +825,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
806
825
|
<div class="desc">
|
807
826
|
<h4>Description</h4>
|
808
827
|
|
809
|
-
<p>
|
828
|
+
<p>Specifies a portion of an image to be extracted when the image
|
810
829
|
is constituted. This attribute can be used to identify a subset
|
811
830
|
of an image that is otherwise too large to keep in memory.</p>
|
812
831
|
|
@@ -840,9 +859,8 @@ self.undefine("tiff", "bits-per-sample")
|
|
840
859
|
<div class="desc">
|
841
860
|
<h4>Description</h4>
|
842
861
|
|
843
|
-
<p>
|
844
|
-
|
845
|
-
image with the "caption:" format..</p>
|
862
|
+
<p>Specifies the fill color to use when creating an image with
|
863
|
+
the "caption:" format..</p>
|
846
864
|
|
847
865
|
<h4>Arguments</h4>
|
848
866
|
|
@@ -903,9 +921,9 @@ self.undefine("tiff", "bits-per-sample")
|
|
903
921
|
<p>The argument may be a numeric value or a string in the form
|
904
922
|
"NN%". In the second case, the argument is computed as a
|
905
923
|
percentage of <a href=
|
906
|
-
"constants.html#Miscellaneous_constants">
|
924
|
+
"constants.html#Miscellaneous_constants">QuantumRange</a>. For
|
907
925
|
example, a value of '5%' sets <code>fuzz</code> to
|
908
|
-
0.05*
|
926
|
+
0.05*QuantumRange.</p>
|
909
927
|
</div>
|
910
928
|
|
911
929
|
<div class="sig">
|
@@ -1035,7 +1053,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
1035
1053
|
optional arguments such as <code>read</code> and
|
1036
1054
|
<code>write</code>. To stop monitoring, set the monitor to
|
1037
1055
|
<code>nil</code>. See <a href=
|
1038
|
-
"imageattrs.html#monitor">Image#monitor</a> for more
|
1056
|
+
"imageattrs.html#monitor">Image#monitor</a> for more informat
|
1039
1057
|
about the proc. This attribute is set-only.</p>
|
1040
1058
|
|
1041
1059
|
<p>If you assign a monitor to an image with
|
@@ -1043,8 +1061,8 @@ self.undefine("tiff", "bits-per-sample")
|
|
1043
1061
|
object inherits the monitor. Any methods applied to the new
|
1044
1062
|
image will be monitored as well.</p>
|
1045
1063
|
|
1046
|
-
<p>
|
1047
|
-
|
1064
|
+
<p>This method supercedes the <code>Magick.set_monitor</code>
|
1065
|
+
method.</p>
|
1048
1066
|
</div>
|
1049
1067
|
|
1050
1068
|
<div class="sig">
|
@@ -1072,7 +1090,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
1072
1090
|
<div class="desc">
|
1073
1091
|
<h4>Description</h4>
|
1074
1092
|
|
1075
|
-
<p>
|
1093
|
+
<p>Specifies the orientation of the image pixels.</p>
|
1076
1094
|
|
1077
1095
|
<h4>Argument</h4>
|
1078
1096
|
|
@@ -1144,7 +1162,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
1144
1162
|
<h4>Description</h4>
|
1145
1163
|
|
1146
1164
|
<p>The compression level for JPEG, MPEG, JPEG-2000, MIFF, MNG,
|
1147
|
-
and PNG image format. Corresponds to
|
1165
|
+
and PNG image format. Corresponds to ImageMagick's -quality
|
1148
1166
|
option. The default is 75. See <em><a href=
|
1149
1167
|
"comtasks.html#compressing">Compressing image
|
1150
1168
|
files</a></em>.</p>
|
@@ -1209,13 +1227,50 @@ self.undefine("tiff", "bits-per-sample")
|
|
1209
1227
|
<p>Use <code>size</code> to specify the width and height of
|
1210
1228
|
images in the CMYK, DIB, EMF, GRAY, RGB, RGBA, UYVY, YUV, or XC
|
1211
1229
|
formats, the width and height of some <a href=
|
1212
|
-
"imusage.html#builtin_formats">
|
1230
|
+
"imusage.html#builtin_formats">builtin formats</a>, or the
|
1213
1231
|
subimage size of PTIF-format images.</p>
|
1214
1232
|
|
1215
1233
|
<h4>Arguments</h4>
|
1216
1234
|
|
1217
|
-
<p>A
|
1218
|
-
|
1235
|
+
<p>A <a href="imusage.html#geometry">geometry string</a> or a
|
1236
|
+
<a href="struct.html#Geometry">Geometry</a> object.</p>
|
1237
|
+
</div>
|
1238
|
+
|
1239
|
+
<div class="sig">
|
1240
|
+
<h3 id="stroke">stroke</h3>
|
1241
|
+
|
1242
|
+
<p><span class="arg">self.</span>stroke= <span class=
|
1243
|
+
"arg">aString</span> or <span class="arg">aPixel</span></p>
|
1244
|
+
</div>
|
1245
|
+
|
1246
|
+
<div class="desc">
|
1247
|
+
<h4>Description</h4>
|
1248
|
+
|
1249
|
+
<p>Specifies the stroke color to use when creating an image
|
1250
|
+
with the "caption:" format..</p>
|
1251
|
+
|
1252
|
+
<h4>Arguments</h4>
|
1253
|
+
|
1254
|
+
<p>A <a href="imusage.html#color_names">color name</a> or a
|
1255
|
+
<a href="struct.html#Pixel">aPixel</a>.</p>
|
1256
|
+
</div>
|
1257
|
+
|
1258
|
+
<div class="sig">
|
1259
|
+
<h3 id="stroke_width">stroke_width</h3>
|
1260
|
+
|
1261
|
+
<p><span class="arg">self.</span>stroke_width=
|
1262
|
+
<em>aNumeric</em></p>
|
1263
|
+
</div>
|
1264
|
+
|
1265
|
+
<div class="desc">
|
1266
|
+
<h4>Description</h4>
|
1267
|
+
|
1268
|
+
<p>Specifies the stroke width to use when creating an image
|
1269
|
+
with the "caption:" format..</p>
|
1270
|
+
|
1271
|
+
<h4>Arguments</h4>
|
1272
|
+
|
1273
|
+
<p>The stroke width.</p>
|
1219
1274
|
</div>
|
1220
1275
|
|
1221
1276
|
<div class="sig">
|
@@ -1229,7 +1284,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
1229
1284
|
<h4>Description</h4>
|
1230
1285
|
|
1231
1286
|
<p>Set a texture to tile onto the image background. Corresponds
|
1232
|
-
to the -texture option to
|
1287
|
+
to the -texture option to ImageMagick's convert and mogrify
|
1233
1288
|
commands. This attribute is set-only.</p>
|
1234
1289
|
|
1235
1290
|
<h4>Argument</h4>
|
@@ -1237,6 +1292,47 @@ self.undefine("tiff", "bits-per-sample")
|
|
1237
1292
|
<p>An image</p>
|
1238
1293
|
</div>
|
1239
1294
|
|
1295
|
+
<div class="sig">
|
1296
|
+
<h3 id="tile_offset">tile_offset</h3>
|
1297
|
+
|
1298
|
+
<p><span class="arg">self</span>.tile_offset= <span class=
|
1299
|
+
"arg">aString</span> or <span class="arg">aGeometry</span></p>
|
1300
|
+
</div>
|
1301
|
+
|
1302
|
+
<div class="desc">
|
1303
|
+
<h4>Description</h4>
|
1304
|
+
|
1305
|
+
<p class="imquote">Specifies the offset for tile images, relative
|
1306
|
+
to the background image it will be tiled on.</p>
|
1307
|
+
|
1308
|
+
<p>This attribute is useful with the "tile:" and "pattern:"
|
1309
|
+
image formats.</p>
|
1310
|
+
|
1311
|
+
<h4>Arguments</h4>
|
1312
|
+
|
1313
|
+
<p>A <a href="imusage.html#geometry">geometry string</a> or a
|
1314
|
+
<a href="struct.html#Geometry">Geometry</a> object.</p>
|
1315
|
+
</div>
|
1316
|
+
|
1317
|
+
<div class="sig">
|
1318
|
+
<h3 id="undercolor">undercolor</h3>
|
1319
|
+
|
1320
|
+
<p><span class="arg">self.</span>undercolor= <span class=
|
1321
|
+
"arg">aString</span> or <span class="arg">aPixel</span></p>
|
1322
|
+
</div>
|
1323
|
+
|
1324
|
+
<div class="desc">
|
1325
|
+
<h4>Description</h4>
|
1326
|
+
|
1327
|
+
<p>Specifies the undercolor color to use when creating an image
|
1328
|
+
with the "caption:" format..</p>
|
1329
|
+
|
1330
|
+
<h4>Arguments</h4>
|
1331
|
+
|
1332
|
+
<p>A <a href="imusage.html#color_names">color name</a> or a
|
1333
|
+
<a href="struct.html#Pixel">aPixel</a>.</p>
|
1334
|
+
</div>
|
1335
|
+
|
1240
1336
|
<div class="sig">
|
1241
1337
|
<h3 id="units">units</h3>
|
1242
1338
|
|
@@ -1247,7 +1343,7 @@ self.undefine("tiff", "bits-per-sample")
|
|
1247
1343
|
<div class="desc">
|
1248
1344
|
<h4>Description</h4>
|
1249
1345
|
|
1250
|
-
<p>
|
1346
|
+
<p>Specifies the units of image resolution.</p>
|
1251
1347
|
|
1252
1348
|
<h4>Arguments</h4>
|
1253
1349
|
|