rmagick 2.11.0 → 2.11.1
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 +8 -0
- data/README.html +7 -7
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +35 -3
- data/doc/draw.html +2 -2
- data/doc/ilist.html +2 -2
- data/doc/image1.html +2 -2
- data/doc/image2.html +2 -2
- data/doc/image3.html +2 -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 +18 -5
- data/ext/RMagick/rmenum.c +17 -2
- data/ext/RMagick/rmmain.c +17 -2
- data/lib/RMagick.rb +9 -2
- data/rmagick.gemspec +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
RMagick 2.11.1
|
2
|
+
o Applied Alexey Borzenkov's mingw patches to extconf.rb.
|
3
|
+
o Fixed a bug in Magick.trace_proc that could cause a segv at program exit
|
4
|
+
with Ruby 1.9.1 (bug report by Larry Young)
|
5
|
+
o Added new CompressionType enum values ZipSCompression, PixCompression,
|
6
|
+
Pxr24Compression, B44Compression, B44ACompression (available in
|
7
|
+
ImageMagick 6.5.5-4)
|
8
|
+
|
1
9
|
RMagick 2.11.0
|
2
10
|
o Fix bug #26475, dissolve and watermark don't work with new versions of
|
3
11
|
ImageMagick (reported by Jim Crate)
|
data/README.html
CHANGED
@@ -1,13 +1,13 @@
|
|
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.11.
|
4
|
+
<title>RMagick 2.11.1 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.11.
|
10
|
-
<h2>
|
9
|
+
<h1>RMagick 2.11.1 <span class="caps">README</span></h1>
|
10
|
+
<h2>09/05/09</h2>
|
11
11
|
<h3>Table of Contents</h3>
|
12
12
|
<ul>
|
13
13
|
<li><a href="#intro">Introduction</a></li>
|
@@ -47,11 +47,11 @@ his “web site”:<http://i.loveruby.net.</p>
|
|
47
47
|
this. If you have not decompressed the tarball, do so with one of these commands,<br />
|
48
48
|
depending on which tarball you have:</p>
|
49
49
|
<pre>
|
50
|
-
tar xvzf RMagick-2.11.
|
51
|
-
tar xvjf RMagick-2.11.
|
50
|
+
tar xvzf RMagick-2.11.1-tar.gz (gzipped tarball)
|
51
|
+
tar xvjf RMagick-2.11.1-tar.bz2 (bzipped tarball)
|
52
52
|
7z e RMagick-x.y.z.tar.lzma -so | tar xv (7zipped tarball)
|
53
53
|
</pre>
|
54
|
-
<p>Change to the RMagick-2.11.
|
54
|
+
<p>Change to the RMagick-2.11.1 directory. If you are not using any<br />
|
55
55
|
configuration options (usually you don’t need to) enter the command</p>
|
56
56
|
<pre>
|
57
57
|
ruby setup.rb
|
@@ -115,7 +115,7 @@ systems, see the documentation for the dynamic loading facility.</p>
|
|
115
115
|
<h4>No such file or directory – “/tmp/rmagick6872.6”</h4>
|
116
116
|
<p>When setup.rb is running the examples, if you get a message like this:</p>
|
117
117
|
<pre>
|
118
|
-
hook /home/me/src/RMagick-2.11.
|
118
|
+
hook /home/me/src/RMagick-2.11.1/./post-setup.rb failed:
|
119
119
|
No such file or directory - "/tmp/rmagick6872.6"
|
120
120
|
</pre>
|
121
121
|
<p>you probably do not have a temporary directory environment variable set. Set<br />
|
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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
34
|
+
<h6 id="header">RMagick 2.11.1 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 7 December 2008), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
64
|
+
<h6 id="header">RMagick 2.11.1 User's Guide and Reference</h6>
|
65
65
|
|
66
66
|
<div class="nav">
|
67
67
|
« <a href="info.html">Prev</a> | <a href=
|
@@ -157,7 +157,7 @@
|
|
157
157
|
|
158
158
|
<dd>An extended form of the <code>Version</code> constant with
|
159
159
|
the format shown here:<br />
|
160
|
-
<code>This is RMagick 2.0.0 ($Date: 2009/
|
160
|
+
<code>This is RMagick 2.0.0 ($Date: 2009/09/05 20:10:15 $)
|
161
161
|
Copyright (C) 2008 by Timothy P. Hunter<br />
|
162
162
|
Built with ImageMagick 6.3.7 01/05/08 Q16
|
163
163
|
http://www.imagemagick.org<br />
|
@@ -876,12 +876,32 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
|
|
876
876
|
|
877
877
|
<dd>The default for most formats.</dd>
|
878
878
|
|
879
|
+
<dt>B44Compression</dt>
|
880
|
+
|
881
|
+
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
|
882
|
+
|
883
|
+
<dt>B44ACompression</dt>
|
884
|
+
|
885
|
+
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
|
886
|
+
|
879
887
|
<dt>BZipCompression</dt>
|
880
888
|
|
881
889
|
<dd class="imquote">BZip (Burrows-Wheeler block-sorting text
|
882
890
|
compression algorithm and Huffman coding) as used by bzip2
|
883
891
|
utilities</dd>
|
884
892
|
|
893
|
+
<dt>DXT1Compression</dt>
|
894
|
+
|
895
|
+
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
|
896
|
+
|
897
|
+
<dt>DXT3Compression</dt>
|
898
|
+
|
899
|
+
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
|
900
|
+
|
901
|
+
<dt>DXT5Compression</dt>
|
902
|
+
|
903
|
+
<dd>Available in ImageMagick 6.3.9-3 and later.</dd>
|
904
|
+
|
885
905
|
<dt>FaxCompression</dt>
|
886
906
|
|
887
907
|
<dd class="imquote">CCITT Group 3 FAX compression</dd>
|
@@ -909,6 +929,14 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
|
|
909
929
|
|
910
930
|
<dd class="imquote">Lempel-Ziv-Welch (LZW) compression</dd>
|
911
931
|
|
932
|
+
<dt>PizCompression</dt>
|
933
|
+
|
934
|
+
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
|
935
|
+
|
936
|
+
<dt>Pxr24Compression</dt>
|
937
|
+
|
938
|
+
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
|
939
|
+
|
912
940
|
<dt>RLECompression</dt>
|
913
941
|
|
914
942
|
<dd>See the Wikipedia page for <a href=
|
@@ -919,6 +947,10 @@ ruby -rRMagick -e"Magick::ColorspaceType.values {|cs| puts cs}"
|
|
919
947
|
|
920
948
|
<dd class="imquote">Lempel-Ziv compression (LZ77) as used in
|
921
949
|
PKZIP and GNU gzip.</dd>
|
950
|
+
|
951
|
+
<dt>ZipSCompression</dt>
|
952
|
+
|
953
|
+
<dd>Available in ImageMagick 6.5.5-4 and later.</dd>
|
922
954
|
</dl>
|
923
955
|
|
924
956
|
<h3 class="const" id="DecorationType">DecorationType</h3>
|
data/doc/draw.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
28
|
+
<h6 id="header">RMagick 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
23
|
+
<h6 id="header">RMagick 2.11.1 User's Guide and Reference</h6>
|
24
24
|
|
25
25
|
<div class="nav">
|
26
26
|
« <a href="magick.html">Prev</a> | <a href=
|
data/doc/image1.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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 @@
|
|
48
48
|
</head>
|
49
49
|
|
50
50
|
<body>
|
51
|
-
<h6 id="header">RMagick 2.11.
|
51
|
+
<h6 id="header">RMagick 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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 @@
|
|
47
47
|
</head>
|
48
48
|
|
49
49
|
<body>
|
50
|
-
<h6 id="header">RMagick 2.11.
|
50
|
+
<h6 id="header">RMagick 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
54
|
+
<h6 id="header">RMagick 2.11.1 User's Guide and Reference</h6>
|
55
55
|
|
56
56
|
<div class="nav">
|
57
57
|
« <a href="image2.html">Prev</a> | <a href=
|
data/doc/imageattrs.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
28
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
72
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1 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.11.
|
108
|
+
Version 2.11.1</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.11.
|
296
|
+
<p>This document describes Version 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
47
|
+
<h6 id="header">RMagick 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
27
|
+
<h6 id="header">RMagick 2.11.1 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 7 December 2008), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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 @@
|
|
70
70
|
</head>
|
71
71
|
|
72
72
|
<body>
|
73
|
-
<h6 id="header">RMagick 2.11.
|
73
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
31
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
36
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
12
|
+
<title>RMagick 2.11.1: 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.11.
|
26
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
31
|
+
<h6 id="header">RMagick 2.11.1 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 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
30
|
+
<h6 id="header">RMagick 2.11.1 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 7 December 2008), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.11.
|
9
|
+
<title>RMagick 2.11.1: 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.11.
|
93
|
+
<h6 id="header">RMagick 2.11.1 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.11.
|
4
|
+
RMAGICK_VERS = "2.11.1"
|
5
5
|
MIN_RUBY_VERS = "1.8.5"
|
6
6
|
MIN_RUBY_VERS_NO = MIN_RUBY_VERS.tr(".","").to_i
|
7
7
|
MIN_IM_VERS = "6.3.5"
|
@@ -101,7 +101,7 @@ end
|
|
101
101
|
|
102
102
|
|
103
103
|
# Magick-config is not available on Windows
|
104
|
-
if RUBY_PLATFORM !~ /mswin/
|
104
|
+
if RUBY_PLATFORM !~ /mswin|mingw/
|
105
105
|
|
106
106
|
# Check for compiler. Extract first word so ENV['CC'] can be a program name with arguments.
|
107
107
|
cc = (ENV["CC"] or Config::CONFIG["CC"] or "gcc").split(' ').first
|
@@ -144,9 +144,16 @@ if RUBY_PLATFORM !~ /mswin/
|
|
144
144
|
$LDFLAGS = ENV["LDFLAGS"].to_s + " " + `Magick-config --ldflags`.chomp
|
145
145
|
$LOCAL_LIBS = ENV["LIBS"].to_s + " " + `Magick-config --libs`.chomp
|
146
146
|
|
147
|
+
elsif RUBY_PLATFORM =~ /mingw/ # mingw
|
148
|
+
|
149
|
+
`convert -version` =~ /Version: ImageMagick (\d+\.\d+\.\d+)-\d+ /
|
150
|
+
abort "Unable to get ImageMagick version" unless $1
|
151
|
+
$magick_version = $1
|
152
|
+
$LOCAL_LIBS = '-lCORE_RL_magick_ -lX11'
|
153
|
+
|
147
154
|
else # mswin
|
148
155
|
|
149
|
-
`convert -version` =~ /Version: ImageMagick (\d
|
156
|
+
`convert -version` =~ /Version: ImageMagick (\d+\.\d+\.\d+)-\d+ /
|
150
157
|
abort "Unable to get ImageMagick version" unless $1
|
151
158
|
$magick_version = $1
|
152
159
|
$CFLAGS = "-W3"
|
@@ -173,7 +180,7 @@ end
|
|
173
180
|
|
174
181
|
|
175
182
|
|
176
|
-
if RUBY_PLATFORM !~ /mswin/
|
183
|
+
if RUBY_PLATFORM !~ /mswin|mingw/
|
177
184
|
|
178
185
|
unless have_library("MagickCore", "InitializeMagick", headers) || have_library("Magick", "InitializeMagick", headers)
|
179
186
|
exit_failure "Can't install RMagick #{RMAGICK_VERS}. " +
|
@@ -269,7 +276,13 @@ have_enum_values("CompositeOperator", ["BlurCompositeOp", # 6
|
|
269
276
|
"VividLightCompositeOp"], headers) # 6.5.4-3
|
270
277
|
have_enum_values("CompressionType", ["DXT1Compression", # 6.3.9-3
|
271
278
|
"DXT3Compression", # 6.3.9-3
|
272
|
-
"DXT5Compression"
|
279
|
+
"DXT5Compression", # 6.3.9-3
|
280
|
+
"ZipSCompression", # 6.5.5-4
|
281
|
+
"PizCompression", # 6.5.5-4
|
282
|
+
"Pxr24Compression", # 6.5.5-4
|
283
|
+
"B44Compression", # 6.5.5-4
|
284
|
+
"B44ACompression"], headers) # 6.5.5-4
|
285
|
+
|
273
286
|
have_enum_values("DistortImageMethod", ["BarrelDistortion", # 6.4.2-5
|
274
287
|
"BarrelInverseDistortion", # 6.4.3-8
|
275
288
|
"BilinearForwardDistortion", # 6.5.1-2
|
data/ext/RMagick/rmenum.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmenum.c,v 1.
|
1
|
+
/* $Id: rmenum.c,v 1.8 2009/09/05 20:01:08 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2009 by Timothy P. Hunter
|
4
4
|
| Name: rmenum.c
|
@@ -480,6 +480,12 @@ CompressionType_name(CompressionType ct)
|
|
480
480
|
{
|
481
481
|
ENUM_TO_NAME(UndefinedCompression)
|
482
482
|
ENUM_TO_NAME(NoCompression)
|
483
|
+
#if defined(HAVE_ENUM_B44COMPRESSION)
|
484
|
+
ENUM_TO_NAME(B44Compression)
|
485
|
+
#endif
|
486
|
+
#if defined(HAVE_ENUM_B44ACOMPRESSION)
|
487
|
+
ENUM_TO_NAME(B44ACompression)
|
488
|
+
#endif
|
483
489
|
ENUM_TO_NAME(BZipCompression)
|
484
490
|
#if defined(HAVE_ENUM_DXT1COMPRESSION)
|
485
491
|
ENUM_TO_NAME(DXT1Compression)
|
@@ -496,9 +502,18 @@ CompressionType_name(CompressionType ct)
|
|
496
502
|
ENUM_TO_NAME(JPEG2000Compression)
|
497
503
|
ENUM_TO_NAME(LosslessJPEGCompression)
|
498
504
|
ENUM_TO_NAME(LZWCompression)
|
505
|
+
#if defined(HAVE_ENUM_PIZCOMPRESSION)
|
506
|
+
ENUM_TO_NAME(PizCompression)
|
507
|
+
#endif
|
508
|
+
#if defined(HAVE_ENUM_PXR24COMPRESSION)
|
509
|
+
ENUM_TO_NAME(Pxr24Compression)
|
510
|
+
#endif
|
499
511
|
ENUM_TO_NAME(RLECompression)
|
500
512
|
ENUM_TO_NAME(ZipCompression)
|
501
|
-
|
513
|
+
#if defined(HAVE_ENUM_ZIPSCOMPRESSION)
|
514
|
+
ENUM_TO_NAME(ZipSCompression)
|
515
|
+
#endif
|
516
|
+
}
|
502
517
|
|
503
518
|
return "UndefinedCompression";
|
504
519
|
}
|
data/ext/RMagick/rmmain.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmmain.c,v 1.
|
1
|
+
/* $Id: rmmain.c,v 1.299 2009/09/05 20:01:08 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2009 by Timothy P. Hunter
|
4
4
|
| Name: rmmain.c
|
@@ -1021,6 +1021,12 @@ Init_RMagick2(void)
|
|
1021
1021
|
DEF_ENUM(CompressionType)
|
1022
1022
|
ENUMERATOR(UndefinedCompression)
|
1023
1023
|
ENUMERATOR(NoCompression)
|
1024
|
+
#if defined(HAVE_ENUM_B44COMPRESSION)
|
1025
|
+
ENUMERATOR(B44Compression)
|
1026
|
+
#endif
|
1027
|
+
#if defined(HAVE_ENUM_B44ACOMPRESSION)
|
1028
|
+
ENUMERATOR(B44ACompression)
|
1029
|
+
#endif
|
1024
1030
|
ENUMERATOR(BZipCompression)
|
1025
1031
|
#if defined(HAVE_ENUM_DXT1COMPRESSION)
|
1026
1032
|
ENUMERATOR(DXT1Compression)
|
@@ -1037,8 +1043,17 @@ Init_RMagick2(void)
|
|
1037
1043
|
ENUMERATOR(JPEG2000Compression)
|
1038
1044
|
ENUMERATOR(LosslessJPEGCompression)
|
1039
1045
|
ENUMERATOR(LZWCompression)
|
1046
|
+
#if defined(HAVE_ENUM_PIZCOMPRESSION)
|
1047
|
+
ENUMERATOR(PizCompression)
|
1048
|
+
#endif
|
1049
|
+
#if defined(HAVE_ENUM_PXR24COMPRESSION)
|
1050
|
+
ENUMERATOR(Pxr24Compression)
|
1051
|
+
#endif
|
1040
1052
|
ENUMERATOR(RLECompression)
|
1041
1053
|
ENUMERATOR(ZipCompression)
|
1054
|
+
#if defined(HAVE_ENUM_ZIPSCOMPRESSION)
|
1055
|
+
ENUMERATOR(ZipSCompression)
|
1056
|
+
#endif
|
1042
1057
|
END_ENUM
|
1043
1058
|
|
1044
1059
|
// DecorationType constants
|
@@ -1623,7 +1638,7 @@ version_constants(void)
|
|
1623
1638
|
rb_define_const(Module_Magick, "Version", str);
|
1624
1639
|
|
1625
1640
|
sprintf(long_version,
|
1626
|
-
"This is %s ($Date: 2009/
|
1641
|
+
"This is %s ($Date: 2009/09/05 20:01:08 $) Copyright (C) 2009 by Timothy P. Hunter\n"
|
1627
1642
|
"Built with %s\n"
|
1628
1643
|
"Built for %s\n"
|
1629
1644
|
"Web page: http://rmagick.rubyforge.org\n"
|
data/lib/RMagick.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# $Id: RMagick.rb,v 1.
|
1
|
+
# $Id: RMagick.rb,v 1.82 2009/09/05 19:59:40 rmagick Exp $
|
2
2
|
#==============================================================================
|
3
3
|
# Copyright (C) 2009 by Timothy P. Hunter
|
4
4
|
# Name: RMagick.rb
|
@@ -24,7 +24,14 @@ def Magick.formats(&block)
|
|
24
24
|
end
|
25
25
|
|
26
26
|
class << self
|
27
|
-
|
27
|
+
# remove reference to the proc at exit
|
28
|
+
def trace_proc=(p)
|
29
|
+
if @trace_proc.nil? && !p.nil? && !@exit_block_set_up
|
30
|
+
at_exit { @trace_proc = nil }
|
31
|
+
@exit_block_set_up = true
|
32
|
+
end
|
33
|
+
@trace_proc = p
|
34
|
+
end
|
28
35
|
end
|
29
36
|
|
30
37
|
# Geometry class and related enum constants
|
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.11.
|
4
|
+
version: 2.11.1
|
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: 2009-
|
12
|
+
date: 2009-09-05 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|