rmagick 2.5.1 → 2.5.2
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 +6 -0
- data/README.html +7 -7
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +2 -2
- data/doc/draw.html +2 -2
- data/doc/ilist.html +24 -13
- data/doc/image1.html +2 -2
- data/doc/image2.html +2 -2
- data/doc/image3.html +4 -2
- 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 +2 -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 +2 -2
- data/ext/RMagick/MANIFEST +1 -1
- data/ext/RMagick/extconf.rb +2 -1
- data/ext/RMagick/rmagick.h +5 -2
- data/ext/RMagick/rmilist.c +17 -2
- data/ext/RMagick/rmimage.c +6 -1
- data/ext/RMagick/rmmain.c +5 -2
- data/rmagick.gemspec +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
RMagick 2.5.2
|
2
|
+
o Add support for MergeLayer to Magick::ImageList#optimize_layers (patch
|
3
|
+
#21189, submitted by Andrew Watson)
|
4
|
+
o Add PowQuantumOperator argument for Image#quantum_operator (available
|
5
|
+
in ImageMagick 6.4.1-9)
|
6
|
+
|
1
7
|
RMagick 2.5.1
|
2
8
|
o Update Pixel#to_color to work with the new QueryMagickColorname API in
|
3
9
|
ImageMagick 6.4.1-9.
|
data/README.html
CHANGED
@@ -1,15 +1,15 @@
|
|
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.5.
|
4
|
+
<title>RMagick 2.5.2 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.5.
|
9
|
+
<h1>RMagick 2.5.2 <span class="caps">README</span></h1>
|
10
10
|
|
11
11
|
|
12
|
-
<h2>
|
12
|
+
<h2>07/15/08</h2>
|
13
13
|
|
14
14
|
|
15
15
|
<h3>Table of Contents</h3>
|
@@ -75,12 +75,12 @@ depending on which tarball you have:</p>
|
|
75
75
|
|
76
76
|
|
77
77
|
<pre>
|
78
|
-
tar xvzf RMagick-2.5.
|
79
|
-
tar xvjf RMagick-2.5.
|
78
|
+
tar xvzf RMagick-2.5.2-tar.gz (gzipped tarball)
|
79
|
+
tar xvjf RMagick-2.5.2-tar.bz2 (bzipped tarball)
|
80
80
|
7z e RMagick-x.y.z.tar.lzma -so | tar xv (7zipped tarball)
|
81
81
|
</pre>
|
82
82
|
|
83
|
-
<p>Change to the RMagick-2.5.
|
83
|
+
<p>Change to the RMagick-2.5.2 directory. If you are not using any
|
84
84
|
configuration options (usually you don’t need to) enter the command</p>
|
85
85
|
|
86
86
|
|
@@ -191,7 +191,7 @@ systems, see the documentation for the dynamic loading facility.</p>
|
|
191
191
|
|
192
192
|
|
193
193
|
<pre>
|
194
|
-
hook /home/me/src/RMagick-2.5.
|
194
|
+
hook /home/me/src/RMagick-2.5.2/./post-setup.rb failed:
|
195
195
|
No such file or directory - "/tmp/rmagick6872.6"
|
196
196
|
</pre>
|
197
197
|
|
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.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
34
|
+
<h6 id="header">RMagick 2.5.2 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 1 September 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
64
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
65
65
|
|
66
66
|
<div class="nav">
|
67
67
|
« <a href="info.html">Prev</a> | <a href=
|
data/doc/draw.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.5.
|
9
|
+
<title>RMagick 2.5.2: class Draw</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.5.
|
28
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
29
29
|
|
30
30
|
<div class="nav">
|
31
31
|
« <a href="image3.html">Prev</a> | <a href=
|
data/doc/ilist.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.5.
|
9
|
+
<title>RMagick 2.5.2: class ImageList</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -20,7 +20,7 @@
|
|
20
20
|
</head>
|
21
21
|
|
22
22
|
<body>
|
23
|
-
<h6 id="header">RMagick 2.5.
|
23
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
24
24
|
|
25
25
|
<div class="nav">
|
26
26
|
« <a href="magick.html">Prev</a> | <a href=
|
@@ -1528,19 +1528,30 @@ ilist.new_image(100, 100) { self.background_color = "red" }
|
|
1528
1528
|
method corresponds to <a href=
|
1529
1529
|
"#flatten_images">flatten_images</a>, above.</dd>
|
1530
1530
|
|
1531
|
+
<dt>MergeLayers</dt>
|
1532
|
+
|
1533
|
+
<dd class="imquote">As [FlattenLayer] but merging all the
|
1534
|
+
given image layers into a new layer image just large enough
|
1535
|
+
to hold all the image without clipping or extra space. The
|
1536
|
+
new image's virtual offset will prevere the position of the
|
1537
|
+
new layer, even if this offset is negative. the virtual
|
1538
|
+
canvas size of the first image is preserved. Caution is
|
1539
|
+
advised when handling image layers with negative offsets as
|
1540
|
+
few image file formats handle them correctly.</dd>
|
1541
|
+
|
1531
1542
|
<dt>MosaicLayer</dt>
|
1532
1543
|
|
1533
|
-
<dd><span class="imquote">As FlattenLayer
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
+
<dd><span class="imquote">As [FlattenLayer] but expanding the
|
1545
|
+
initial canvas size of the first image so as to hold all the
|
1546
|
+
image layers. However as a virtual canvas is 'locked' to the
|
1547
|
+
origin, by definition, image layers with a negative offsets
|
1548
|
+
will still be clipped by the top and left edges. This method
|
1549
|
+
is commonly used to layout individual image using various
|
1550
|
+
offset but without knowing the final canvas size. The
|
1551
|
+
resulting image will, like FlattenLayer not have any virtual
|
1552
|
+
offset, so can be saved to any image file format.</span> This
|
1553
|
+
method corresponds to <a href="#mosaic">mosaic</a>,
|
1554
|
+
above.</dd>
|
1544
1555
|
|
1545
1556
|
<dt>OptimizeImageLayer</dt>
|
1546
1557
|
|
data/doc/image1.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.5.
|
9
|
+
<title>RMagick 2.5.2: class Image (class methods and instance
|
10
10
|
methods a-d)</title>
|
11
11
|
<meta http-equiv="Content-Type" content=
|
12
12
|
"text/html; charset=us-ascii" />
|
@@ -48,7 +48,7 @@ float: left;
|
|
48
48
|
</head>
|
49
49
|
|
50
50
|
<body>
|
51
|
-
<h6 id="header">RMagick 2.5.
|
51
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
52
52
|
|
53
53
|
<div class="nav">
|
54
54
|
« <a href="imageattrs.html">Prev</a> | <a href=
|
data/doc/image2.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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" />
|
@@ -47,7 +47,7 @@ td.ds {
|
|
47
47
|
</head>
|
48
48
|
|
49
49
|
<body>
|
50
|
-
<h6 id="header">RMagick 2.5.
|
50
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
51
51
|
|
52
52
|
<div class="nav">
|
53
53
|
« <a href="image1.html">Prev</a> | <a href=
|
data/doc/image3.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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" />
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</head>
|
52
52
|
|
53
53
|
<body>
|
54
|
-
<h6 id="header">RMagick 2.5.
|
54
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
55
55
|
|
56
56
|
<div class="nav">
|
57
57
|
« <a href="image2.html">Prev</a> | <a href=
|
@@ -848,6 +848,8 @@ end
|
|
848
848
|
<li><code>SubtractQuantumOperator</code></li>
|
849
849
|
|
850
850
|
<li><code>XorQuantumOperator</code></li>
|
851
|
+
|
852
|
+
<li><code>PowQuantumOperator</code></li>
|
851
853
|
</ul>
|
852
854
|
</dd>
|
853
855
|
|
data/doc/imageattrs.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
28
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
29
29
|
|
30
30
|
<div class="nav">
|
31
31
|
« <a href="ilist.html">Prev</a> | <a href=
|
data/doc/imusage.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
72
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
73
73
|
|
74
74
|
<div class="nav">
|
75
75
|
« <a href="usage.html">Prev</a> | <a href=
|
data/doc/index.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.5.
|
9
|
+
<title>RMagick 2.5.2 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.5.
|
108
|
+
Version 2.5.2</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.5.
|
296
|
+
<p>This document describes Version 2.5.2 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
|
data/doc/info.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
47
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
48
48
|
|
49
49
|
<div class="nav">
|
50
50
|
« <a href="struct.html">Prev</a> | <a href=
|
data/doc/magick.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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.5.
|
27
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
28
28
|
|
29
29
|
<div class="nav">
|
30
30
|
« <a href="comtasks.html">Prev</a> | <a href=
|
data/doc/optequiv.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.5.
|
9
|
+
<title>RMagick 2.5.2: 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 2.5.
|
73
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
74
74
|
|
75
75
|
<div class="nav">
|
76
76
|
« <a href="index.html">Prev</a> | <a href=
|
data/doc/rvg.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvgtut.html">Prev</a> | <a href=
|
data/doc/rvgclip.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::ClipPath Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvgpattern.html">Prev</a> | <a href=
|
data/doc/rvggroup.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Group Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvg.html">Prev</a> | <a href=
|
data/doc/rvgimage.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Image Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvggroup.html">Prev</a> | <a href=
|
data/doc/rvgpattern.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Pattern Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvgimage.html">Prev</a> | <a href=
|
data/doc/rvgshape.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: Shapes</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</head>
|
29
29
|
|
30
30
|
<body>
|
31
|
-
<h6 id="header">RMagick 2.5.
|
31
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
32
32
|
|
33
33
|
<div class="nav">
|
34
34
|
« <a href="rvgstyle.html">Prev</a> | <a href=
|
data/doc/rvgstyle.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: Styles</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvguse.html">Prev</a> | <a href=
|
data/doc/rvgtext.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Text Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</head>
|
34
34
|
|
35
35
|
<body>
|
36
|
-
<h6 id="header">RMagick 2.5.
|
36
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
37
37
|
|
38
38
|
<div class="nav">
|
39
39
|
« <a href="rvgclip.html">Prev</a> | <a href=
|
data/doc/rvgtspan.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Tspan Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvgtext.html">Prev</a> | <a href=
|
data/doc/rvgtut.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<meta name="generator" content=
|
10
10
|
"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
|
11
11
|
|
12
|
-
<title>RMagick 2.5.
|
12
|
+
<title>RMagick 2.5.2: RVG Tutorial</title>
|
13
13
|
<meta name="GENERATOR" content="Quanta Plus" />
|
14
14
|
<link rel="stylesheet" type="text/css" href="css/doc.css" />
|
15
15
|
<style type="text/css">
|
@@ -23,7 +23,7 @@
|
|
23
23
|
</head>
|
24
24
|
|
25
25
|
<body>
|
26
|
-
<h6 id="header">RMagick 2.5.
|
26
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
27
27
|
|
28
28
|
<div class="nav">
|
29
29
|
« <a href="constants.html">Prev</a> | <a href=
|
data/doc/rvguse.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: RVG::Use Class</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="rvgtspan.html">Prev</a> | <a href=
|
data/doc/rvgxform.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.5.
|
9
|
+
<title>RMagick 2.5.2: RVG Reference: Transforms</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</head>
|
29
29
|
|
30
30
|
<body>
|
31
|
-
<h6 id="header">RMagick 2.5.
|
31
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
32
32
|
|
33
33
|
<div class="nav">
|
34
34
|
« <a href="rvgshape.html">Prev</a> | <a href=
|
data/doc/struct.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.5.
|
9
|
+
<title>RMagick 2.5.2: Miscellaneous classes</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</head>
|
28
28
|
|
29
29
|
<body>
|
30
|
-
<h6 id="header">RMagick 2.5.
|
30
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
31
31
|
|
32
32
|
<div class="nav">
|
33
33
|
« <a href="draw.html">Prev</a> | <a href=
|
data/doc/usage.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.5.
|
9
|
+
<title>RMagick 2.5.2: How to use RMagick</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</head>
|
91
91
|
|
92
92
|
<body>
|
93
|
-
<h6 id="header">RMagick 2.5.
|
93
|
+
<h6 id="header">RMagick 2.5.2 User's Guide and Reference</h6>
|
94
94
|
|
95
95
|
<div class="nav">
|
96
96
|
« <a href="index.html">Prev</a> | <a href=
|
data/ext/RMagick/MANIFEST
CHANGED
data/ext/RMagick/extconf.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "mkmf"
|
2
2
|
require "date"
|
3
3
|
|
4
|
-
RMAGICK_VERS = "2.5.
|
4
|
+
RMAGICK_VERS = "2.5.2"
|
5
5
|
MIN_RUBY_VERS = "1.8.2"
|
6
6
|
MIN_RUBY_VERS_NO = MIN_RUBY_VERS.tr(".","").to_i
|
7
7
|
MIN_IM_VERS = "6.3.0"
|
@@ -242,6 +242,7 @@ have_enum_value("InterpolatePixelMethod", "SplineInterpolatePixel", headers) # 6
|
|
242
242
|
have_enum_values("InterlaceType", ["GIFInterlace", # 6.3.4
|
243
243
|
"JPEGInterlace", # 6.3.4
|
244
244
|
"PNGInterlace"], headers) # 6.3.4
|
245
|
+
have_enum_value("MagickEvaluateOperator", "PowEvaluateOperator", headers) # 6.4.1-9
|
245
246
|
have_enum_values("MagickLayerMethod", ["OptimizeTransLayer", # 6.3.3-4
|
246
247
|
"RemoveDupsLayer", # 6.3.3-6
|
247
248
|
"RemoveZeroLayer", # 6.3.3-6
|
data/ext/RMagick/rmagick.h
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmagick.h,v 1.
|
1
|
+
/* $Id: rmagick.h,v 1.236 2008/07/13 21:18:27 rmagick Exp $ */
|
2
2
|
/*=============================================================================
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmagick.h
|
@@ -233,7 +233,10 @@ typedef enum _QuantumExpressionOperator
|
|
233
233
|
OrQuantumOperator,
|
234
234
|
RShiftQuantumOperator,
|
235
235
|
SubtractQuantumOperator,
|
236
|
-
XorQuantumOperator
|
236
|
+
XorQuantumOperator,
|
237
|
+
#if defined(HAVE_ENUM_POWEVALUATEOPERATOR)
|
238
|
+
PowQuantumOperator,
|
239
|
+
#endif
|
237
240
|
} QuantumExpressionOperator ;
|
238
241
|
|
239
242
|
|
data/ext/RMagick/rmilist.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmilist.c,v 1.
|
1
|
+
/* $Id: rmilist.c,v 1.73 2008/07/13 14:31:37 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmilist.c
|
@@ -555,7 +555,7 @@ ImageList_optimize_layers(VALUE self, VALUE method)
|
|
555
555
|
#endif
|
556
556
|
#if defined(HAVE_ENUM_COMPOSITELAYER)
|
557
557
|
case CompositeLayer:
|
558
|
-
rb_raise(rb_eNotImpError, "Magick::CompositeLayer is not
|
558
|
+
rb_raise(rb_eNotImpError, "Magick::CompositeLayer is not supported. Use the composite_layers method instead.");
|
559
559
|
break;
|
560
560
|
#endif
|
561
561
|
#if defined(HAVE_ENUM_OPTIMIZEIMAGELAYER)
|
@@ -590,6 +590,21 @@ ImageList_optimize_layers(VALUE self, VALUE method)
|
|
590
590
|
case CompareOverlayLayer:
|
591
591
|
new_images = CompareImageLayers(images, mthd, &exception);
|
592
592
|
break;
|
593
|
+
#if defined(HAVE_ENUM_MOSAICLAYER)
|
594
|
+
case MosaicLayer:
|
595
|
+
new_images = MergeImageLayers(images, mthd, &exception);
|
596
|
+
break;
|
597
|
+
#endif
|
598
|
+
#if defined(HAVE_ENUM_FLATTENLAYER)
|
599
|
+
case FlattenLayer:
|
600
|
+
new_images = MergeImageLayers(images, mthd, &exception);
|
601
|
+
break;
|
602
|
+
#endif
|
603
|
+
#if defined(HAVE_ENUM_MERGELAYER)
|
604
|
+
case MergeLayer:
|
605
|
+
new_images = MergeImageLayers(images, mthd, &exception);
|
606
|
+
break;
|
607
|
+
#endif
|
593
608
|
default:
|
594
609
|
rb_raise(rb_eArgError, "undefined layer method");
|
595
610
|
break;
|
data/ext/RMagick/rmimage.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmimage.c,v 1.
|
1
|
+
/* $Id: rmimage.c,v 1.298 2008/07/13 21:18:28 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmimage.c
|
@@ -7422,6 +7422,11 @@ Image_quantum_operator(int argc, VALUE *argv, VALUE self)
|
|
7422
7422
|
case XorQuantumOperator:
|
7423
7423
|
qop = XorEvaluateOperator;
|
7424
7424
|
break;
|
7425
|
+
#if defined(HAVE_ENUM_POWEVALUATEOPERATOR)
|
7426
|
+
case PowQuantumOperator:
|
7427
|
+
qop = PowEvaluateOperator;
|
7428
|
+
break;
|
7429
|
+
#endif
|
7425
7430
|
}
|
7426
7431
|
|
7427
7432
|
GetExceptionInfo(&exception);
|
data/ext/RMagick/rmmain.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmmain.c,v 1.
|
1
|
+
/* $Id: rmmain.c,v 1.252 2008/07/13 21:18:28 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmmain.c
|
@@ -1495,6 +1495,9 @@ Init_RMagick2(void)
|
|
1495
1495
|
ENUMERATOR(RShiftQuantumOperator)
|
1496
1496
|
ENUMERATOR(SubtractQuantumOperator)
|
1497
1497
|
ENUMERATOR(XorQuantumOperator)
|
1498
|
+
#if defined(HAVE_ENUM_POWEVALUATEOPERATOR)
|
1499
|
+
ENUMERATOR(PowQuantumOperator)
|
1500
|
+
#endif
|
1498
1501
|
END_ENUM
|
1499
1502
|
|
1500
1503
|
// RenderingIntent
|
@@ -1710,7 +1713,7 @@ static void version_constants(void)
|
|
1710
1713
|
rb_define_const(Module_Magick, "Version", str);
|
1711
1714
|
|
1712
1715
|
sprintf(long_version,
|
1713
|
-
"This is %s ($Date: 2008/
|
1716
|
+
"This is %s ($Date: 2008/07/13 21:18:28 $) Copyright (C) 2008 by Timothy P. Hunter\n"
|
1714
1717
|
"Built with %s\n"
|
1715
1718
|
"Built for %s\n"
|
1716
1719
|
"Web page: http://rmagick.rubyforge.org\n"
|
data/rmagick.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmagick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Hunter
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-07-15 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|