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/magick.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick
|
9
|
+
<title>RMagick 2.0.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
|
27
|
+
<h6 id="header">RMagick 2.0.0 User's Guide and Reference</h6>
|
28
28
|
|
29
29
|
<div class="nav">
|
30
30
|
« <a href="comtasks.html">Prev</a> | <a href=
|
@@ -55,7 +55,7 @@
|
|
55
55
|
|
56
56
|
<li><a href="#set_log_format">set_log_format</a></li>
|
57
57
|
|
58
|
-
<li><a href="#
|
58
|
+
<li><a href="#trace_proc">trace_proc</a></li>
|
59
59
|
</ul>
|
60
60
|
</div>
|
61
61
|
|
@@ -233,7 +233,7 @@
|
|
233
233
|
|
234
234
|
<h4>Example</h4>
|
235
235
|
|
236
|
-
<p><a href="
|
236
|
+
<p><a href="javascript:popup('fonts.rb.html')" title=
|
237
237
|
"The example script">fonts.rb</a></p>
|
238
238
|
|
239
239
|
<h4>Magick API</h4>
|
@@ -411,7 +411,7 @@ Magick.set_cache_threshold(10)
|
|
411
411
|
"#limit_resource">limit_resource</a> instead. The code:</p>
|
412
412
|
<pre>
|
413
413
|
Magick.limit_resource(:memory, n)
|
414
|
-
Magick.
|
414
|
+
Magick.imit_resource(:map, 2*n)
|
415
415
|
</pre>
|
416
416
|
|
417
417
|
<p>is equivalent to</p>
|
@@ -460,7 +460,7 @@ Magick.set_log_event_mask("Module,Coder")
|
|
460
460
|
<p>Magick logging is configured with the log.xml file in
|
461
461
|
Magick's config directory. See <a href=
|
462
462
|
"http://redux.imagemagick.org/script/resources.php">Resources</a>
|
463
|
-
in the ImageMagick
|
463
|
+
in the ImageMagick documenation for more information.</p>
|
464
464
|
|
465
465
|
<p>Use this command to find out about the current log
|
466
466
|
configuration.</p>
|
@@ -538,90 +538,56 @@ convert -list log
|
|
538
538
|
</div>
|
539
539
|
|
540
540
|
<div class="sig">
|
541
|
-
<h3 id="
|
541
|
+
<h3 id="trace_proc">trace_proc</h3>
|
542
542
|
|
543
|
-
<p>Magick.
|
543
|
+
<p>Magick.trace_proc = <span class="arg">proc</span></p>
|
544
544
|
</div>
|
545
545
|
|
546
546
|
<div class="desc">
|
547
547
|
<h4>Description</h4>
|
548
548
|
|
549
|
-
<p
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
<p>Establish a monitor exit block. Some (see <a href=
|
555
|
-
"#monitor_notes">below</a>) RMagick methods will call the
|
556
|
-
monitor event block, passing parameters that describe how much
|
557
|
-
work there is to be done and how much of that work has already
|
558
|
-
been accomplished.</p>
|
559
|
-
|
560
|
-
<p>There can be at most one monitor block defined at a time. To
|
561
|
-
turn off monitoring, call
|
562
|
-
<code>Magick.set_monitor(nil)</code>.</p>
|
549
|
+
<p>If the Magick module attribute <code>trace_proc</code> is
|
550
|
+
set to a Proc object, RMagick calls the proc whenever an image
|
551
|
+
is created or destroyed. You can use this proc to keep track of
|
552
|
+
which images your program has created and which have been
|
553
|
+
destroyed.</p>
|
563
554
|
|
564
555
|
<h4>Arguments</h4>
|
565
556
|
|
566
|
-
<p>The
|
567
|
-
accept 3 arguments:</p>
|
557
|
+
<p>The proc should accept these four arguments:</p>
|
568
558
|
|
569
559
|
<dl>
|
570
|
-
<dt>
|
560
|
+
<dt>which</dt>
|
571
561
|
|
572
|
-
<dd>
|
573
|
-
|
562
|
+
<dd>A symbol that indicates which operation the proc is being
|
563
|
+
called for. If the proc is called for an image creation, the
|
564
|
+
value is :c. If called for an image destruction, the value is
|
565
|
+
:d.</dd>
|
574
566
|
|
575
|
-
<dt>
|
567
|
+
<dt>description</dt>
|
576
568
|
|
577
|
-
<dd>
|
578
|
-
|
579
|
-
|
569
|
+
<dd>A string describing the image. This is the same string
|
570
|
+
that would be returned by calling the image's inspect
|
571
|
+
method.</dd>
|
580
572
|
|
581
|
-
<dt>
|
573
|
+
<dt>id</dt>
|
582
574
|
|
583
|
-
<dd>
|
584
|
-
|
585
|
-
|
575
|
+
<dd>A unique identifier for the image. This identifier is not
|
576
|
+
the same as the object's object_id. No two images will have
|
577
|
+
the same id at the same time. However, the id of an image
|
578
|
+
that has been destroyed may be reused for a subsequent
|
579
|
+
image.</dd>
|
586
580
|
|
587
|
-
|
588
|
-
<pre>
|
589
|
-
monitor = Proc.new { |text, quantum, span|
|
590
|
-
printf("%s %3.0f%% complete\n", text, ((quantum/span.to_f)*100.0))
|
591
|
-
}
|
592
|
-
Magick.set_monitor(monitor)
|
593
|
-
</pre>
|
581
|
+
<dt>method</dt>
|
594
582
|
|
595
|
-
|
583
|
+
<dd>The name of the method responsible for creating or
|
584
|
+
destroying the image.</dd>
|
585
|
+
</dl>
|
586
|
+
|
587
|
+
<h4>Notes</h4>
|
596
588
|
|
597
|
-
<p>
|
598
|
-
|
599
|
-
<h4 id="monitor_notes">Note</h4>
|
600
|
-
|
601
|
-
<p>The list of methods which call the monitor block is
|
602
|
-
difficult to determine. The only sure way to find out is to
|
603
|
-
read the source code. In the Image class the list includes
|
604
|
-
<code>add_noise</code>, <code>blur_image</code>,
|
605
|
-
<code>channel</code>, <code>chop</code>, <code>colorize</code>,
|
606
|
-
<code>crop</code>, <code>colors</code>, <code>despeckle</code>,
|
607
|
-
<code>enhance</code>, <code>equalize</code>, <code>flip</code>,
|
608
|
-
<code>flop</code>, <code>frame</code>,
|
609
|
-
<code>gamma_correct</code>, <code>implode</code>,
|
610
|
-
<code>level</code>, <code>magnify</code>,
|
611
|
-
<code>median_filter</code>, <code>minify</code>,
|
612
|
-
<code>modulate</code>, <code>morph</code>, <code>negate</code>,
|
613
|
-
<code>normalize</code>, <code>oil_paint</code>,
|
614
|
-
<code>opaque</code>, <code>raise</code>,
|
615
|
-
<code>reduce_noise</code>, <code>resize</code>,
|
616
|
-
<code>roll</code>, <code>rotate</code>, <code>sample</code>,
|
617
|
-
<code>scale</code>, <code>segment</code>, <code>shade</code>,
|
618
|
-
<code>sharpen</code>, <code>shear</code>,
|
619
|
-
<code>solarize</code>, <code>spread</code>,
|
620
|
-
<code>stegano</code>, <code>stereo</code>, <code>swirl</code>,
|
621
|
-
<code>texture</code> <code>threshold</code>,
|
622
|
-
<code>transparent</code>, and <code>wave</code>. In the
|
623
|
-
ImageList class, the list includes <code>append</code>,
|
624
|
-
<code>average</code>, and <code>montage</code>.</p>
|
589
|
+
<p>If called while Ruby is cleaning up after the program has
|
590
|
+
finished, any methods the proc calls may not be executed.</p>
|
625
591
|
</div>
|
626
592
|
|
627
593
|
<p class="spacer"> </p>
|
data/doc/optequiv.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: 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" />
|
@@ -70,7 +70,7 @@ td {
|
|
70
70
|
</head>
|
71
71
|
|
72
72
|
<body>
|
73
|
-
<h6 id="header">RMagick
|
73
|
+
<h6 id="header">RMagick 2.0.0 User's Guide and Reference</h6>
|
74
74
|
|
75
75
|
<div class="nav">
|
76
76
|
« <a href="index.html">Prev</a> | <a href=
|
@@ -102,24 +102,24 @@ td {
|
|
102
102
|
<div class="intro">
|
103
103
|
<h3>Introduction</h3>
|
104
104
|
|
105
|
-
<p>If you're
|
105
|
+
<p>If you're familar with the ImageMagick command-line tools
|
106
106
|
<code>convert</code>, <code>mogrify</code>,
|
107
107
|
<code>composite</code>, and <code>montage</code> you can use
|
108
108
|
the tables on this page to determine which RMagick methods
|
109
109
|
correspond to the options used by these tools.</p>
|
110
110
|
|
111
|
-
<p>The options listed below are for ImageMagick 6.3.
|
112
|
-
releases of ImageMagick
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
<p
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
111
|
+
<p>The options listed below are for ImageMagick 6.3.5. Earlier
|
112
|
+
releases of ImageMagick may not support all these options.
|
113
|
+
Later releases of ImageMagick may have options that are not
|
114
|
+
listed.</p>
|
115
|
+
|
116
|
+
<p>ImageMagick's <code>convert</code> and <code>mogrify</code>
|
117
|
+
share many options with each other, as well as with the other
|
118
|
+
utilities. This table includes all the options for both
|
119
|
+
<code>convert</code> and <code>mogrify</code>. When another
|
120
|
+
utility has an option with the same name and purpose, and same
|
121
|
+
RMagick equivalent, the option is omitted from the table for
|
122
|
+
that utility.</p>
|
123
123
|
</div>
|
124
124
|
|
125
125
|
<table class="striped" summary=
|
@@ -177,6 +177,13 @@ td {
|
|
177
177
|
annotation)</td>
|
178
178
|
</tr>
|
179
179
|
|
180
|
+
<tr>
|
181
|
+
<td>-alpha <em>type</em></td>
|
182
|
+
|
183
|
+
<td>Image#<a href=
|
184
|
+
"imageattrs.html#alpha">alpha=</a><em>type</em></td>
|
185
|
+
</tr>
|
186
|
+
|
180
187
|
<tr>
|
181
188
|
<td>-annotate
|
182
189
|
<em>x-rotate</em>x<em>y-rotate</em>+<em>x</em>+<em>y</em>
|
@@ -212,6 +219,13 @@ td {
|
|
212
219
|
"ilist.html#append">append</a>(<code>false</code>)</td>
|
213
220
|
</tr>
|
214
221
|
|
222
|
+
<tr>
|
223
|
+
<td>-attenuate <em>value</em></td>
|
224
|
+
|
225
|
+
<td>Image::Info#<a href=
|
226
|
+
"info.html#attenuate">attenuate</a>=<em>value</em></td>
|
227
|
+
</tr>
|
228
|
+
|
215
229
|
<tr>
|
216
230
|
<td>-authenticate <em>string</em></td>
|
217
231
|
|
@@ -275,8 +289,9 @@ td {
|
|
275
289
|
<td>-blue-primary <em>x</em>,<em>y</em></td>
|
276
290
|
|
277
291
|
<td>Image#<a href=
|
278
|
-
"imageattrs.html#chromaticity">chromaticity=</a
|
279
|
-
|
292
|
+
"imageattrs.html#chromaticity">chromaticity=</a>
|
293
|
+
<em><a href=
|
294
|
+
"struct.html#Chromaticity">chromaticity</a></em></td>
|
280
295
|
</tr>
|
281
296
|
|
282
297
|
<tr>
|
@@ -348,7 +363,8 @@ td {
|
|
348
363
|
<tr>
|
349
364
|
<td>-clip-mask</td>
|
350
365
|
|
351
|
-
<td>
|
366
|
+
<td>Image#<a href=
|
367
|
+
"imageattrs.html#mask">mask=</a>image</td>
|
352
368
|
</tr>
|
353
369
|
|
354
370
|
<tr>
|
@@ -365,6 +381,14 @@ td {
|
|
365
381
|
Image#<a href="image1.html#dup">dup</a></td>
|
366
382
|
</tr>
|
367
383
|
|
384
|
+
<tr>
|
385
|
+
<td>-clut</td>
|
386
|
+
|
387
|
+
<td>Image#<a href=
|
388
|
+
"image1.html#clut_channel">clut_channel</a>(<em>clut_image</em>
|
389
|
+
[, <em>channel...</em>])</td>
|
390
|
+
</tr>
|
391
|
+
|
368
392
|
<tr>
|
369
393
|
<td>-coalesce</td>
|
370
394
|
|
@@ -409,7 +433,9 @@ td {
|
|
409
433
|
<tr>
|
410
434
|
<td>-combine</td>
|
411
435
|
|
412
|
-
<td>
|
436
|
+
<td>Image.<a href=
|
437
|
+
"image1.html#combine">combine</a>(<em>red</em>,
|
438
|
+
<em>green</em>, <em>blue</em>, <em>opacity</em>)</td>
|
413
439
|
</tr>
|
414
440
|
|
415
441
|
<tr>
|
@@ -568,6 +594,12 @@ td {
|
|
568
594
|
"image1.html#despeckle">despeckle</a></td>
|
569
595
|
</tr>
|
570
596
|
|
597
|
+
<tr>
|
598
|
+
<td>-displace</td>
|
599
|
+
|
600
|
+
<td>See <a href="#displace">-displace</a>, below</td>
|
601
|
+
</tr>
|
602
|
+
|
571
603
|
<tr>
|
572
604
|
<td>-display</td>
|
573
605
|
|
@@ -588,6 +620,15 @@ td {
|
|
588
620
|
<td>See <a href="#dissolve">-dissolve</a>, below</td>
|
589
621
|
</tr>
|
590
622
|
|
623
|
+
<tr>
|
624
|
+
<td>-distort <em>method</em> <em>arguments</em><br />
|
625
|
+
+distort <em>method</em> <em>arguments</em></td>
|
626
|
+
|
627
|
+
<td>Image#<a href=
|
628
|
+
"image1.html#distort">distort</a>(<em>method</em>,
|
629
|
+
<em>arguments</em>, <em>bestfit</em>)</td>
|
630
|
+
</tr>
|
631
|
+
|
591
632
|
<tr>
|
592
633
|
<td>-dither<br />
|
593
634
|
+dither</td>
|
@@ -607,14 +648,14 @@ td {
|
|
607
648
|
<td>-edge <em>radius</em></td>
|
608
649
|
|
609
650
|
<td>Image#<a href=
|
610
|
-
"
|
651
|
+
"image2.html#edge">edge</a>(<em>radius</em>=0.0)</td>
|
611
652
|
</tr>
|
612
653
|
|
613
654
|
<tr>
|
614
655
|
<td>-emboss <em>radius</em></td>
|
615
656
|
|
616
657
|
<td>Image#<a href=
|
617
|
-
"
|
658
|
+
"image2.html#emboss">emboss</a>(<em>radius</em>=0.0,
|
618
659
|
<em>sigma</em>=1.0)</td>
|
619
660
|
</tr>
|
620
661
|
|
@@ -646,7 +687,9 @@ td {
|
|
646
687
|
<tr>
|
647
688
|
<td>-equalize</td>
|
648
689
|
|
649
|
-
<td>Image#<a href="image2.html#equalize">equalize</a
|
690
|
+
<td>Image#<a href="image2.html#equalize">equalize</a><br />
|
691
|
+
Image#<a href=
|
692
|
+
"image2.html#equalize_channel">equalize_channel</a></td>
|
650
693
|
</tr>
|
651
694
|
|
652
695
|
<tr>
|
@@ -659,9 +702,11 @@ td {
|
|
659
702
|
</tr>
|
660
703
|
|
661
704
|
<tr>
|
662
|
-
<td>-extent</td>
|
705
|
+
<td>-extent <em>width</em>x<em>height</em></td>
|
663
706
|
|
664
|
-
<td>
|
707
|
+
<td>Image#<a href=
|
708
|
+
"image2.html#extent">extent</a>(<em>width</em>,
|
709
|
+
<em>height</em>, <em>x</em>=0, <em>y</em>=0)</td>
|
665
710
|
</tr>
|
666
711
|
|
667
712
|
<tr>
|
@@ -677,10 +722,11 @@ td {
|
|
677
722
|
<td>-family <em>name</em></td>
|
678
723
|
|
679
724
|
<td>Draw#<a href=
|
680
|
-
"draw.html#
|
725
|
+
"draw.html#family">family</a>(<em>name</em>) (for
|
681
726
|
drawing)<br />
|
682
|
-
Draw#<a href=
|
683
|
-
(for
|
727
|
+
Draw#<a href=
|
728
|
+
"draw.html#font_family_eq">family=</a><em>name</em> (for
|
729
|
+
annotation)</td>
|
684
730
|
</tr>
|
685
731
|
|
686
732
|
<tr>
|
@@ -703,7 +749,8 @@ td {
|
|
703
749
|
<tr>
|
704
750
|
<td>-flatten</td>
|
705
751
|
|
706
|
-
<td>ImageList#<a href=
|
752
|
+
<td>ImageList#<a href=
|
753
|
+
"ilist.html#flatten_images">flatten_images</a></td>
|
707
754
|
</tr>
|
708
755
|
|
709
756
|
<tr>
|
@@ -813,17 +860,18 @@ td {
|
|
813
860
|
"draw.html#gravity">gravity</a>(<em><a href=
|
814
861
|
"constants.html#GravityType">type</a></em>) (for
|
815
862
|
drawing)<br />
|
816
|
-
Draw#<a href=
|
817
|
-
|
818
|
-
|
863
|
+
Draw#<a href="draw.html#gravity_eq">gravity=</a>
|
864
|
+
<em><a href="constants.html#GravityType">type</a></em> (for
|
865
|
+
annotation)</td>
|
819
866
|
</tr>
|
820
867
|
|
821
868
|
<tr>
|
822
869
|
<td>-green-primary <em>x</em>,<em>y</em></td>
|
823
870
|
|
824
871
|
<td>Image#<a href=
|
825
|
-
"imageattrs.html#chromaticity">chromaticity=</a
|
826
|
-
|
872
|
+
"imageattrs.html#chromaticity">chromaticity=</a>
|
873
|
+
<em><a href=
|
874
|
+
"struct.html#Chromaticity">chromaticity</a></em></td>
|
827
875
|
</tr>
|
828
876
|
|
829
877
|
<tr>
|
@@ -915,10 +963,15 @@ td {
|
|
915
963
|
</tr>
|
916
964
|
|
917
965
|
<tr>
|
918
|
-
<td>-layers <em>method</em
|
966
|
+
<td>-layers <em>method</em><br />
|
967
|
+
-layers Composite</td>
|
919
968
|
|
920
969
|
<td>ImageList#<a href=
|
921
|
-
"ilist.html#optimize_layers">optimize_layers</a>(<em>method</em>)
|
970
|
+
"ilist.html#optimize_layers">optimize_layers</a>(<em>method</em>)<br />
|
971
|
+
|
972
|
+
ImageList#<a href=
|
973
|
+
"ilist.html#composite_layers">composite_layers</a>(<em>imagelist</em>,
|
974
|
+
<em>operator</em>=OverCompositeOp)</td>
|
922
975
|
</tr>
|
923
976
|
|
924
977
|
<tr>
|
@@ -927,7 +980,7 @@ td {
|
|
927
980
|
|
928
981
|
<td>Image#<a href=
|
929
982
|
"image2.html#level">level</a>(<em>black_point</em>=0.0,
|
930
|
-
<em>white_point</em>=
|
983
|
+
<em>white_point</em>=QuantumRange, <em>gamma</em>=1.0)</td>
|
931
984
|
</tr>
|
932
985
|
|
933
986
|
<tr id="limit">
|
@@ -1120,7 +1173,9 @@ td {
|
|
1120
1173
|
<td>-normalize</td>
|
1121
1174
|
|
1122
1175
|
<td>Image#<a href=
|
1123
|
-
"image2.html#normalize">normalize</a
|
1176
|
+
"image2.html#normalize">normalize</a><br />
|
1177
|
+
Image#<a href=
|
1178
|
+
"image2.html#normalize_channel">normalize_channel</a></td>
|
1124
1179
|
</tr>
|
1125
1180
|
|
1126
1181
|
<tr>
|
@@ -1165,6 +1220,18 @@ td {
|
|
1165
1220
|
"image2.html#oil_paint">oil_paint</a>(<em>radius</em>=3.0)</td>
|
1166
1221
|
</tr>
|
1167
1222
|
|
1223
|
+
<tr>
|
1224
|
+
<td>-path <em>path</em></td>
|
1225
|
+
|
1226
|
+
<td>No equivalent</td>
|
1227
|
+
</tr>
|
1228
|
+
|
1229
|
+
<tr>
|
1230
|
+
<td>-pause</td>
|
1231
|
+
|
1232
|
+
<td>No equivalent</td>
|
1233
|
+
</tr>
|
1234
|
+
|
1168
1235
|
<tr>
|
1169
1236
|
<td>-ping</td>
|
1170
1237
|
|
@@ -1184,17 +1251,17 @@ td {
|
|
1184
1251
|
</tr>
|
1185
1252
|
|
1186
1253
|
<tr>
|
1187
|
-
<td
|
1254
|
+
<td>-polaroid <em>angle</em></td>
|
1188
1255
|
|
1189
1256
|
<td>Image.<a href=
|
1190
|
-
"
|
1257
|
+
"image3.html#polaroid">polaroid</a>(<em>angle=-5.0</em>)</td>
|
1191
1258
|
</tr>
|
1192
1259
|
|
1193
1260
|
<tr>
|
1194
1261
|
<td>-posterize <em>levels</em></td>
|
1195
1262
|
|
1196
1263
|
<td>Image#<a href=
|
1197
|
-
"
|
1264
|
+
"image3.html#posterize">posterize</a>(<em>levels</em>=4,
|
1198
1265
|
<em>dither</em>=<code>false</code>)</td>
|
1199
1266
|
</tr>
|
1200
1267
|
|
@@ -1295,8 +1362,9 @@ td {
|
|
1295
1362
|
<td>-red-primary <em>x</em>,<em>y</em></td>
|
1296
1363
|
|
1297
1364
|
<td>Image#<a href=
|
1298
|
-
"imageattrs.html#chromaticity">chromaticity=</a
|
1299
|
-
|
1365
|
+
"imageattrs.html#chromaticity">chromaticity=</a>
|
1366
|
+
<em><a href=
|
1367
|
+
"struct.html#Chromaticity">chromaticity</a></em></td>
|
1300
1368
|
</tr>
|
1301
1369
|
|
1302
1370
|
<tr>
|
@@ -1351,6 +1419,12 @@ td {
|
|
1351
1419
|
<em>height</em>)</td>
|
1352
1420
|
</tr>
|
1353
1421
|
|
1422
|
+
<tr>
|
1423
|
+
<td>-reverse</td>
|
1424
|
+
|
1425
|
+
<td>ImageList#reverse</td>
|
1426
|
+
</tr>
|
1427
|
+
|
1354
1428
|
<tr>
|
1355
1429
|
<td>-roll +<em>x</em>+<em>y</em></td>
|
1356
1430
|
|
@@ -1401,7 +1475,8 @@ td {
|
|
1401
1475
|
<tr>
|
1402
1476
|
<td>-scenes <em>value</em>-<em>value</em></td>
|
1403
1477
|
|
1404
|
-
<td>
|
1478
|
+
<td>See <a href="imusage.html#frames">Selecting frames from
|
1479
|
+
a multi-frame image file</a></td>
|
1405
1480
|
</tr>
|
1406
1481
|
|
1407
1482
|
<tr>
|
@@ -1410,6 +1485,12 @@ td {
|
|
1410
1485
|
<td>No equivalent</td>
|
1411
1486
|
</tr>
|
1412
1487
|
|
1488
|
+
<tr>
|
1489
|
+
<td>-seed</td>
|
1490
|
+
|
1491
|
+
<td>Kernel.srand</td>
|
1492
|
+
</tr>
|
1493
|
+
|
1413
1494
|
<tr>
|
1414
1495
|
<td>-segment
|
1415
1496
|
<em>cluster-threshold</em>x<em>smoothing-threshold</em></td>
|
@@ -1425,15 +1506,15 @@ td {
|
|
1425
1506
|
<td>-separate</td>
|
1426
1507
|
|
1427
1508
|
<td>Image#<a href=
|
1428
|
-
"
|
1429
|
-
"constants.html#ChannelType">
|
1509
|
+
"image3.html#separate">separate</a>(<em><a href=
|
1510
|
+
"constants.html#ChannelType">channel</a></em>...])</td>
|
1430
1511
|
</tr>
|
1431
1512
|
|
1432
1513
|
<tr>
|
1433
1514
|
<td>-sepia-tone <em>threshold</em></td>
|
1434
1515
|
|
1435
1516
|
<td>Image#<a href=
|
1436
|
-
"image3.html#sepiatone">sepiatone</a>(<em>threshold</em>=
|
1517
|
+
"image3.html#sepiatone">sepiatone</a>(<em>threshold</em>=QuantumRange)</td>
|
1437
1518
|
</tr>
|
1438
1519
|
|
1439
1520
|
<tr>
|
@@ -1526,6 +1607,12 @@ td {
|
|
1526
1607
|
<em>sigma</em>=1.0, <em>angle</em>=0.0)</td>
|
1527
1608
|
</tr>
|
1528
1609
|
|
1610
|
+
<tr>
|
1611
|
+
<td>-snaps</td>
|
1612
|
+
|
1613
|
+
<td>No equivalent</td>
|
1614
|
+
</tr>
|
1615
|
+
|
1529
1616
|
<tr>
|
1530
1617
|
<td>-solarize <em>threshold</em></td>
|
1531
1618
|
|
@@ -1615,14 +1702,6 @@ td {
|
|
1615
1702
|
(for annotation)</td>
|
1616
1703
|
</tr>
|
1617
1704
|
|
1618
|
-
<tr>
|
1619
|
-
<td>-support <em>factor</em></td>
|
1620
|
-
|
1621
|
-
<td>This option corresponds to the <em>support</em>
|
1622
|
-
argument to Image#<a href=
|
1623
|
-
"image3.html#resize">resize</a>.</td>
|
1624
|
-
</tr>
|
1625
|
-
|
1626
1705
|
<tr>
|
1627
1706
|
<td>-swap <em>index</em>,<em>index</em></td>
|
1628
1707
|
|
@@ -1674,6 +1753,13 @@ td {
|
|
1674
1753
|
"draw.html#tile">tile</a>(<em>image</em>)</td>
|
1675
1754
|
</tr>
|
1676
1755
|
|
1756
|
+
<tr>
|
1757
|
+
<td>-tile-offset <em>+x+y</em></td>
|
1758
|
+
|
1759
|
+
<td>Image::Info#<a href=
|
1760
|
+
"info.html#tile_offset">tile_offset</a> = "+x+y"</td>
|
1761
|
+
</tr>
|
1762
|
+
|
1677
1763
|
<tr>
|
1678
1764
|
<td>-tint</td>
|
1679
1765
|
|
@@ -1690,8 +1776,9 @@ td {
|
|
1690
1776
|
<td>-transform</td>
|
1691
1777
|
|
1692
1778
|
<td>Image#<a href=
|
1693
|
-
"image1.html#affine_transform">affine_transform</a>(
|
1694
|
-
|
1779
|
+
"image1.html#affine_transform">affine_transform</a>(
|
1780
|
+
<em><a href=
|
1781
|
+
"struct.html#AffineMatrix">matrix</a></em>)</td>
|
1695
1782
|
</tr>
|
1696
1783
|
|
1697
1784
|
<tr>
|
@@ -1780,6 +1867,12 @@ td {
|
|
1780
1867
|
<em>threshold</em>=0.05)</td>
|
1781
1868
|
</tr>
|
1782
1869
|
|
1870
|
+
<tr>
|
1871
|
+
<td>-update</td>
|
1872
|
+
|
1873
|
+
<td>No equivalent</td>
|
1874
|
+
</tr>
|
1875
|
+
|
1783
1876
|
<tr>
|
1784
1877
|
<td>-verbose</td>
|
1785
1878
|
|
@@ -1818,7 +1911,7 @@ td {
|
|
1818
1911
|
</tr>
|
1819
1912
|
|
1820
1913
|
<tr>
|
1821
|
-
<td>-visual
|
1914
|
+
<td>-visual</td>
|
1822
1915
|
|
1823
1916
|
<td>No equivalent</td>
|
1824
1917
|
</tr>
|
@@ -1852,8 +1945,9 @@ td {
|
|
1852
1945
|
<td>-white-point <em>x</em>.<em>y</em></td>
|
1853
1946
|
|
1854
1947
|
<td>Image#<a href=
|
1855
|
-
"imageattrs.html#chromaticity">chromaticity=</a
|
1856
|
-
|
1948
|
+
"imageattrs.html#chromaticity">chromaticity=</a>
|
1949
|
+
<em><a href=
|
1950
|
+
"struct.html#Chromaticity">chromaticity</a></em></td>
|
1857
1951
|
</tr>
|
1858
1952
|
|
1859
1953
|
<tr>
|
@@ -1911,7 +2005,7 @@ td {
|
|
1911
2005
|
</tr>
|
1912
2006
|
|
1913
2007
|
<tr>
|
1914
|
-
<td>-displace
|
2008
|
+
<td id="displace">-displace
|
1915
2009
|
<em>x-amplitude</em>x<em>y-amplitude</em></td>
|
1916
2010
|
|
1917
2011
|
<td>Image#<a href=
|