rmagick 1.14.1 → 1.15.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 (66) hide show
  1. data/ChangeLog +22 -0
  2. data/README.html +11 -63
  3. data/README.txt +8 -56
  4. data/configure +214 -787
  5. data/configure.ac +22 -24
  6. data/doc/comtasks.html +2 -2
  7. data/doc/constants.html +5 -6
  8. data/doc/draw.html +33 -14
  9. data/doc/ex/clip_path.rb +3 -0
  10. data/doc/ex/path.rb +1 -1
  11. data/doc/ex/polaroid.rb +23 -0
  12. data/doc/ex/tspan01.rb +2 -2
  13. data/doc/ex/tspan02.rb +2 -2
  14. data/doc/ex/tspan03.rb +3 -3
  15. data/doc/ex/wet_floor.rb +54 -0
  16. data/doc/ilist.html +83 -4
  17. data/doc/image1.html +4 -5
  18. data/doc/image2.html +395 -266
  19. data/doc/image3.html +104 -8
  20. data/doc/imageattrs.html +2 -2
  21. data/doc/imusage.html +2 -2
  22. data/doc/index.html +22 -18
  23. data/doc/info.html +28 -6
  24. data/doc/magick.html +125 -4
  25. data/doc/optequiv.html +196 -21
  26. data/doc/rvg.html +2 -2
  27. data/doc/rvgclip.html +2 -2
  28. data/doc/rvggroup.html +2 -2
  29. data/doc/rvgimage.html +2 -2
  30. data/doc/rvgpattern.html +2 -2
  31. data/doc/rvgshape.html +2 -2
  32. data/doc/rvgstyle.html +2 -2
  33. data/doc/rvgtext.html +2 -2
  34. data/doc/rvgtspan.html +2 -2
  35. data/doc/rvgtut.html +3 -3
  36. data/doc/rvguse.html +2 -2
  37. data/doc/rvgxform.html +2 -2
  38. data/doc/struct.html +2 -2
  39. data/doc/usage.html +26 -5
  40. data/ext/RMagick/MANIFEST +3 -1
  41. data/ext/RMagick/rmagick.h +46 -12
  42. data/ext/RMagick/rmagick_config.h.in +12 -2
  43. data/ext/RMagick/rmdraw.c +202 -62
  44. data/ext/RMagick/rmfill.c +36 -36
  45. data/ext/RMagick/rmilist.c +75 -31
  46. data/ext/RMagick/rmimage.c +640 -323
  47. data/ext/RMagick/rminfo.c +76 -15
  48. data/ext/RMagick/rmmain.c +107 -30
  49. data/ext/RMagick/rmutil.c +97 -68
  50. data/lib/RMagick.rb +11 -11
  51. data/lib/rvg/clippath.rb +38 -36
  52. data/lib/rvg/container.rb +120 -118
  53. data/lib/rvg/deep_equal.rb +44 -42
  54. data/lib/rvg/describable.rb +49 -47
  55. data/lib/rvg/embellishable.rb +399 -397
  56. data/lib/rvg/misc.rb +613 -603
  57. data/lib/rvg/paint.rb +38 -36
  58. data/lib/rvg/pathdata.rb +124 -122
  59. data/lib/rvg/rvg.rb +202 -198
  60. data/lib/rvg/stretchable.rb +132 -130
  61. data/lib/rvg/stylable.rb +101 -99
  62. data/lib/rvg/text.rb +173 -171
  63. data/lib/rvg/transformable.rb +120 -118
  64. data/lib/rvg/units.rb +60 -58
  65. data/rmagick.gemspec +1 -1
  66. metadata +5 -3
@@ -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: class Image (instance methods, part 3)</title>
9
+ <title>RMagick 1.15.0: class Image (instance methods, part 3)</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 User's Guide and Reference</h6>
54
+ <h6 id="header">RMagick 1.15.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=
@@ -91,6 +91,8 @@
91
91
  <li><a href=
92
92
  "#random_threshold_channel">random_threshold_channel</a></li>
93
93
 
94
+ <li><a href="#recolor">recolor</a></li>
95
+
94
96
  <li><a href="#reduce_noise">reduce_noise</a></li>
95
97
 
96
98
  <li><a href="#resample">resample</a></li>
@@ -166,14 +168,14 @@
166
168
  <li><a href="#strip_bang">strip!</a></li>
167
169
 
168
170
  <li><a href="#swirl">swirl</a></li>
171
+
172
+ <li><a href=
173
+ "#texture_fill_to_border">texture_fill_to_border</a></li>
169
174
  </ul>
170
175
  </div>
171
176
 
172
177
  <div class="toccol">
173
178
  <ul>
174
- <li><a href=
175
- "#texture_fill_to_border">texture_fill_to_border</a></li>
176
-
177
179
  <li><a href=
178
180
  "#texture_floodfill">texture_floodfill</a></li>
179
181
 
@@ -216,6 +218,8 @@
216
218
 
217
219
  <li><a href="#wave">wave</a></li>
218
220
 
221
+ <li><a href="#wet_floor">wet_floor</a></li>
222
+
219
223
  <li><a href="#white_threshold">white_threshold</a></li>
220
224
 
221
225
  <li><a href="#write">write</a></li>
@@ -808,6 +812,32 @@ random_threshold_channel(geom, RedChannel)
808
812
  <p>RandomThresholdImageChannel</p>
809
813
  </div>
810
814
 
815
+ <div class="sig">
816
+ <h3 id="recolor">recolor</h3>
817
+
818
+ <p><span class="arg">image</span>.recolor(<span class=
819
+ "arg">color_matrix</span>) -&gt; <em>anImage</em></p>
820
+ </div>
821
+
822
+ <div class="desc">
823
+ <h4>Description</h4>
824
+
825
+ <p>Use this method to <span class="imquote">translate, scale,
826
+ shear, or rotate image colors. Although you can use variable
827
+ sized matrices, typically you use a 5&times;5 for an RGBA image
828
+ and a 6&times;6 for CMYKA. Populate the last row with
829
+ normalized values to translate.</span></p>
830
+
831
+ <h4>Arguments</h4>
832
+
833
+ <p>An array of Float values representing the recolor
834
+ matrix.</p>
835
+
836
+ <h4>Magick API</h4>
837
+
838
+ <p>RecolorImage (introduced in ImageMagick 6.3.1)</p>
839
+ </div>
840
+
811
841
  <div class="sig">
812
842
  <h3 id="reduce_noise">reduce_noise</h3>
813
843
 
@@ -1609,7 +1639,7 @@ random_threshold_channel(geom, RedChannel)
1609
1639
  id="shadowed" onmouseover=
1610
1640
  "this.style.display='none';shadowless.style.display='';" src=
1611
1641
  "ex/shadow_after.gif" alt="shadow example"
1612
- /></a> <img src="ex/images/spin.gif" alt="" style=
1642
+ /></a> <img src="ex/images/spin.gif" alt="" style=
1613
1643
  "margin-bottom: 120px" title=
1614
1644
  "Mouse over the example to see the original image" /></p>
1615
1645
 
@@ -1827,7 +1857,7 @@ random_threshold_channel(geom, RedChannel)
1827
1857
  <img id="sheared" onmouseover=
1828
1858
  "this.style.display='none'; noshear.style.display='';" src=
1829
1859
  "ex/shear.jpg" alt="shear example"
1830
- /></a><img src="ex/images/spin.gif" alt="" class=
1860
+ /></a><img src="ex/images/spin.gif" alt="" class=
1831
1861
  "spin" style="left: 253px; top: 34px" title=
1832
1862
  "Mouse over the example to see the original image" /></p>
1833
1863
 
@@ -3550,7 +3580,7 @@ end
3550
3580
  --><img class="hide"
3551
3581
  id="waved" onmouseover=
3552
3582
  "this.style.display='none'; nowave.style.display='';" src=
3553
- "ex/wave.jpg" alt="wave example" /></a> <img src=
3583
+ "ex/wave.jpg" alt="wave example" /></a> <img src=
3554
3584
  "ex/images/spin.gif" alt="" class="spin" title=
3555
3585
  "Mouse over the example to see the original image" /></p>
3556
3586
 
@@ -3564,6 +3594,72 @@ end
3564
3594
  "imageattrs.html#virtual_pixel_method">virtual_pixel_method</a></p>
3565
3595
  </div>
3566
3596
 
3597
+ <div class="sig">
3598
+ <h3 id="wet_floor">wet_floor</h3>
3599
+
3600
+ <p><span class="arg">image</span>.wet_floor(<span class=
3601
+ "arg">intial=0.5</span>, <span class="arg">rate=1.0</span>)
3602
+ -&gt; <em>anImage</em></p>
3603
+ </div>
3604
+
3605
+ <div class="desc">
3606
+ <h4>Description</h4>
3607
+
3608
+ <p>Creates a <a href=
3609
+ "http://en.wikipedia.org/wiki/Wet_floor_effect">"wet floor"</a>
3610
+ reflection. The reflection is an inverted copy of the image
3611
+ that changes from partially transparent to entirely
3612
+ transparent. By default only the bottom third of the image
3613
+ appears in the reflection.</p>
3614
+
3615
+ <p>Note that the output image is just the reflection. This
3616
+ makes it easy to apply further transformations to the
3617
+ reflection before combining it with the original image.</p>
3618
+
3619
+ <h4>Arguments</h4>
3620
+
3621
+ <dl>
3622
+ <dt>initial</dt>
3623
+
3624
+ <dd>A value between 0.0 and 1.0 that specifies the initial
3625
+ percentage of transparency. Higher values cause the top of
3626
+ the reflection to be more transparent, lower values less
3627
+ transparent. The default is 0.5, which means that the top of
3628
+ the reflection is 50% transparent.</dd>
3629
+
3630
+ <dt>rate</dt>
3631
+
3632
+ <dd>A non-negative value that specifies how rapidly the
3633
+ reflection transitions from the initial level of transparency
3634
+ to entirely transparent. The default value is 1.0, which
3635
+ means that the transition occurs in 1/3 the image height.
3636
+ Values greater than 1.0 speed up the transition (the
3637
+ reflection will have fewer rows), values lower than 1.0 slow
3638
+ down the transition (the reflection will have more rows). A
3639
+ value of 0.0 means that the level of transparency will not
3640
+ change.</dd>
3641
+ </dl>
3642
+
3643
+ <h4>Returns</h4>
3644
+
3645
+ <p>A new image</p>
3646
+
3647
+ <h4>Example</h4>
3648
+
3649
+ <p>Here are four examples of <code>wet_floor</code>. The top
3650
+ image shows the result of appending the default reflection to
3651
+ the original image. The second image shows the result of
3652
+ decreasing the initial transparency to 0.25 and using 0.5 as
3653
+ the <span class="arg">rate</span> argument. The third image
3654
+ uses the same reflection as the second image but has a slant
3655
+ added. The bottom image is the same as the third image but with
3656
+ a ripple effect.</p>
3657
+
3658
+ <p><a href="javascript:popup('wet_floor.rb.html')"><img src=
3659
+ "ex/wet_floor.gif" title="Click to see the example script" alt=
3660
+ "wet floor example" /></a></p>
3661
+ </div>
3662
+
3567
3663
  <div class="sig">
3568
3664
  <h3 id="white_threshold">white_threshold</h3>
3569
3665
 
@@ -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: class Image (attribute methods)</title>
9
+ <title>RMagick 1.15.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 User's Guide and Reference</h6>
28
+ <h6 id="header">RMagick 1.15.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 1st December 2004), see www.w3.org" />
8
8
 
9
- <title>RMagick: ImageMagick/GraphicsMagick Conventions</title>
9
+ <title>RMagick 1.15.0: ImageMagick/GraphicsMagick 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 User's Guide and Reference</h6>
72
+ <h6 id="header">RMagick 1.15.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=
@@ -4,9 +4,10 @@
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 1st March 2005), see www.w3.org" />
7
+ "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
8
8
 
9
- <title>RMagick User's Guide and Reference</title>
9
+ <title>RMagick 1.15.0 User's Guide and
10
+ Reference</title>
10
11
  <meta http-equiv="Content-Type" content=
11
12
  "text/html; charset=us-ascii" />
12
13
  <meta name="GENERATOR" content="Quanta Plus" />
@@ -105,7 +106,8 @@
105
106
  </div>
106
107
 
107
108
  <p id="magick">Ruby+ImageMagick<span class="tm">TM</span><br />
108
- Ruby+GraphicsMagick</p>
109
+ Ruby+GraphicsMagick<br />
110
+ Version 1.15.0</p>
109
111
 
110
112
  <h1>User's Guide and Reference</h1>
111
113
 
@@ -124,7 +126,8 @@
124
126
  <li><a href="imusage.html">ImageMagick and GraphicsMagick
125
127
  Conventions</a></li>
126
128
 
127
- <li><a href="optequiv.html">Magick Command Options and Their Equivalent Methods</a></li>
129
+ <li><a href="optequiv.html">Magick Command Options and
130
+ Their Equivalent Methods</a></li>
128
131
 
129
132
  <li><a href="comtasks.html">Common Tasks</a></li>
130
133
  </ul>
@@ -234,7 +237,7 @@
234
237
  </ul>
235
238
  </div>
236
239
 
237
- <h2 id="#introduction">Introduction</h2>
240
+ <h2 id="introduction">Introduction</h2>
238
241
 
239
242
  <h3>What is RMagick?</h3>
240
243
 
@@ -313,16 +316,17 @@
313
316
 
314
317
  <h3>About this document</h3>
315
318
 
316
- <p>This document is divided into 4 parts. The first is this page.
317
- The second part is a user's guide covering both RMagick and
319
+ <p>This document describes Version 1.15.0 of RMagick.
320
+ It is divided into 4 parts. The first is this page. The second
321
+ part is a user's guide covering both RMagick and
318
322
  ImageMagick/GraphicsMagick usage and conventions. The third part
319
323
  is a reference guide to the ImageList, Image, and Draw classes.
320
324
  This guide includes many examples.</p>
321
325
 
322
- <p>The fourth part covers the newest addition to RMagick, Ruby
323
- Vector Graphics (RVG). RVG is a facade for Draw that provides a
324
- high-level API for scalable vector graphics. The RVG section
325
- includes a tutorial and complete reference documentation.</p>
326
+ <p>The fourth part covers Ruby Vector Graphics (RVG). RVG is a
327
+ facade for Draw that provides a high-level API for scalable
328
+ vector graphics. The RVG section includes a tutorial and complete
329
+ reference documentation.</p>
326
330
 
327
331
  <p>Accompanying the HTML documentation is a set of over 175
328
332
  example RMagick programs. Each is a complete, stand-alone program
@@ -398,10 +402,11 @@
398
402
  Ruby version numbers, along with a thorough description of the
399
403
  problem. RMagick will tell you both its version number and
400
404
  &times;Magick's version number. Simply bring up irb and run this
401
- command: <code>ruby -r RMagick -e "puts Magick::Long_version"</code></p>
405
+ command: <code>ruby -r RMagick -e "puts
406
+ Magick::Long_version"</code></p>
402
407
  <pre class="example" id="version">
403
- This is RMagick 1.13.0 ($Date: 2006/09/05 23:11:25 $) Copyright (C) 2006 by Timothy P. Hunter
404
- Built with ImageMagick 6.2.9 08/21/06 Q8 http://www.imagemagick.org
408
+ This is RMagick 1.15.0 ($Date: 2007/01/14 19:01:40 $) Copyright (C) 2007 by Timothy P. Hunter
409
+ Built with ImageMagick 6.3.1 01/13/07 Q16 http://www.imagemagick.org
405
410
  Built for ruby 1.8.5 (2006-08-25) [i686-linux]
406
411
  Web page: http://rmagick.rubyforge.org
407
412
  Email: rmagick@rubyforge.org
@@ -439,12 +444,11 @@ Email: rmagick@rubyforge.org
439
444
  Notices</a></h3>
440
445
 
441
446
  <ul>
442
- <li>RMagick is copyrighted by Timothy P. Hunter.</li>
447
+ <li>RMagick &copy; 2002-2007 Timothy P. Hunter.</li>
443
448
 
444
- <li>ImageMagick is copyrighted by ImageMagick
445
- Studio.</li>
449
+ <li>ImageMagick &copy; 1999-2007 ImageMagick Studio.</li>
446
450
 
447
- <li>GraphicsMagick is copyrighted by the GraphicsMagick
451
+ <li>GraphicsMagick &copy; 2002, 2003, 2004, 2005 GraphicsMagick
448
452
  Group.</li>
449
453
 
450
454
  <li>Ruby is copyrighted free software by Yukihiro
@@ -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: class Image::Info - Optional method
9
+ <title>RMagick 1.15.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 User's Guide and Reference</h6>
47
+ <h6 id="header">RMagick 1.15.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=
@@ -96,13 +96,13 @@
96
96
  <li><a href="#depth">depth</a></li>
97
97
 
98
98
  <li><a href="#dispose">dispose</a></li>
99
+
100
+ <li><a href="#dither">dither</a></li>
99
101
  </ul>
100
102
  </div>
101
103
 
102
104
  <div class="toccol">
103
105
  <ul>
104
- <li><a href="#dither">dither</a></li>
105
-
106
106
  <li><a href="#extract">extract</a></li>
107
107
 
108
108
  <li><a href="#filename">filename</a></li>
@@ -124,17 +124,19 @@
124
124
  <li><a href="#label">label</a></li>
125
125
 
126
126
  <li><a href="#matte_color">matte_color</a></li>
127
+
128
+ <li><a href="#monitor">monitor</a></li>
127
129
  </ul>
128
130
  </div>
129
131
 
130
132
  <div class="toccol">
131
133
  <ul>
132
- <li><a href="#monitor">monitor</a></li>
133
-
134
134
  <li><a href="#monochrome">monochrome</a></li>
135
135
 
136
136
  <li><a href="#orientation">orientation</a></li>
137
137
 
138
+ <li><a href="#origin">origin</a></li>
139
+
138
140
  <li><a href="#page">page</a></li>
139
141
 
140
142
  <li><a href="#pointsize">pointsize</a></li>
@@ -1078,6 +1080,26 @@ self.undefine("tiff", "bits-per-sample")
1078
1080
  "constants.html#OrientationType">OrientationType</a> value.</p>
1079
1081
  </div>
1080
1082
 
1083
+ <div class="sig">
1084
+ <h3 id="origin">origin</h3>
1085
+
1086
+ <p><span class="arg">self</span>.origin=<span class=
1087
+ "arg">aString</span> or <span class="arg">aGeometry</span></p>
1088
+ </div>
1089
+
1090
+ <div class="desc">
1091
+ <h4>Description</h4>
1092
+
1093
+ <p>Set the image origin.</p>
1094
+
1095
+ <h4>Argument</h4>
1096
+
1097
+ <p>A <a href="imusage.html#geometry">geometry string</a> of the
1098
+ form <code>+x+y</code> (a "-" may be used instead of "+" to
1099
+ indicate a negative offset) or a <a href=
1100
+ "struct.html#Geometry">Geometry</a> object.</p>
1101
+ </div>
1102
+
1081
1103
  <div class="sig">
1082
1104
  <h3 id="page">page</h3>
1083
1105
 
@@ -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: module Magick</title>
9
+ <title>RMagick 1.15.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 User's Guide and Reference</h6>
27
+ <h6 id="header">RMagick 1.15.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=
@@ -51,6 +51,10 @@
51
51
  <li><a href=
52
52
  "#set_cache_threshold">set_cache_threshold</a></li>
53
53
 
54
+ <li><a href="#set_log_event_mask">set_log_event_mask</a></li>
55
+
56
+ <li><a href="#set_log_format">set_log_format</a></li>
57
+
54
58
  <li><a href="#set_monitor">set_monitor</a></li>
55
59
  </ul>
56
60
  </div>
@@ -362,8 +366,8 @@ p Magick.formats &raquo;
362
366
  <code>:file</code>, the limit is the number of open files. If
363
367
  <code>:memory</code> or <code>:map</code>, the limit is
364
368
  measured megabytes. If <code>:disk</code>, the limit is
365
- measured in gigabytes. If this argument is omitted the limit is not
366
- changed.</dd>
369
+ measured in gigabytes. If this argument is omitted the limit
370
+ is not changed.</dd>
367
371
  </dl>
368
372
 
369
373
  <h4>Returns</h4>
@@ -416,6 +420,123 @@ Magick.set_cache_threshold(n)
416
420
  </pre>
417
421
  </div>
418
422
 
423
+ <div class="sig">
424
+ <h3 id="set_log_event_mask">set_log_event_mask</h3>
425
+
426
+ <p>Magick.set_log_event_mask(<span class=
427
+ "arg">event_list</span>)</p>
428
+ </div>
429
+
430
+ <div class="desc">
431
+ <h4>Description</h4>
432
+
433
+ <p>Specify which events to log.</p>
434
+
435
+ <h4>Argument</h4>
436
+
437
+ <p>A string composed of one or more of the following event
438
+ types. If more than one event type is specified, separate the
439
+ event types with commas.</p>
440
+
441
+ <p><code>All, Annotate, Blob, Cache, Coder, Configure,
442
+ Deprecate, Draw, Exception, Locale, Module, None, Resource,
443
+ Trace, Transform, User, Wand, X11</code></p>
444
+
445
+ <h4>Example</h4>
446
+ <pre>
447
+ Magick.set_log_event_mask("Module,Coder")
448
+ </pre>
449
+
450
+ <h4>Magick API</h4>
451
+
452
+ <p>SetLogEventMask</p>
453
+
454
+ <h4>See also</h4>
455
+
456
+ <p><a href="#set_log_format">set_log_format</a></p>
457
+
458
+ <h4>Log configuration</h4>
459
+
460
+ <p>Magick logging is configured with the log.xml file in
461
+ Magick's config directory. See <a href=
462
+ "http://redux.imagemagick.org/script/resources.php">Resources</a>
463
+ in the ImageMagick documenation for more information.</p>
464
+
465
+ <p>Use this command to find out about the current log
466
+ configuration.</p>
467
+ <pre>
468
+ convert -list log
469
+ </pre>
470
+ </div>
471
+
472
+ <div class="sig">
473
+ <h3 id="set_log_format">set_log_format</h3>
474
+
475
+ <p>Magick.set_log_format(<span class="arg">format</span>)</p>
476
+ </div>
477
+
478
+ <div class="desc">
479
+ <h4>Description</h4>
480
+
481
+ <p>Specify the event log format.</p>
482
+
483
+ <h4>Argument</h4>
484
+
485
+ <p>A fprintf-like format string composed of optional "normal"
486
+ text (to which no meaning is assigned) and the following format
487
+ characters:</p>
488
+
489
+ <dl>
490
+ <dt>%d</dt>
491
+
492
+ <dd>domain</dd>
493
+
494
+ <dt>%e</dt>
495
+
496
+ <dd>event</dd>
497
+
498
+ <dt>%f</dt>
499
+
500
+ <dd>function</dd>
501
+
502
+ <dt>%l</dt>
503
+
504
+ <dd>line</dd>
505
+
506
+ <dt>%m</dt>
507
+
508
+ <dd>module</dd>
509
+
510
+ <dt>%p</dt>
511
+
512
+ <dd>process ID</dd>
513
+
514
+ <dt>%r</dt>
515
+
516
+ <dd>read CPU time</dd>
517
+
518
+ <dt>%t</dt>
519
+
520
+ <dd>wall clock time</dd>
521
+
522
+ <dt>%u</dt>
523
+
524
+ <dd>user CPU time</dd>
525
+
526
+ <dt>%%</dt>
527
+
528
+ <dd>percent sign</dd>
529
+
530
+ <dt>\n</dt>
531
+
532
+ <dd>newline</dd>
533
+
534
+ <dt>\r</dt>
535
+
536
+ <dd>carriage return</dd>
537
+ </dl>
538
+ </div>
539
+
419
540
  <div class="sig">
420
541
  <h3 id="set_monitor">set_monitor</h3>
421
542