rmagick 2.7.1 → 2.7.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 CHANGED
@@ -1,3 +1,7 @@
1
+ RMagick 2.7.2
2
+ o Fix bug #22740, some Image::Info attribute values are not propogated to
3
+ the image object (bug report by Thomas Watson)
4
+
1
5
  RMagick 2.7.1
2
6
  o Fix bug #22471, Magick::fonts can abend on 64-bit systems (bug report and
3
7
  patch by James Le Cuirot)
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.7.1 README</title>
4
+ <title>RMagick 2.7.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.7.1 <span class="caps">README</span></h1>
9
+ <h1>RMagick 2.7.2 <span class="caps">README</span></h1>
10
10
 
11
11
 
12
- <h2>11/01/08</h2>
12
+ <h2>11/13/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.7.1-tar.gz (gzipped tarball)
79
- tar xvjf RMagick-2.7.1-tar.bz2 (bzipped tarball)
78
+ tar xvzf RMagick-2.7.2-tar.gz (gzipped tarball)
79
+ tar xvjf RMagick-2.7.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.7.1 directory. If you are not using any
83
+ <p>Change to the RMagick-2.7.2 directory. If you are not using any
84
84
  configuration options (usually you don&#8217;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.7.1/./post-setup.rb failed:
194
+ hook /home/me/src/RMagick-2.7.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.7.1: Common Tasks</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
34
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
35
35
 
36
36
  <div class="nav">
37
37
  &laquo;&nbsp;<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 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.7.1: Constants</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
64
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
65
65
 
66
66
  <div class="nav">
67
67
  &laquo;&nbsp;<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.7.1: class Draw</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
28
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
29
29
 
30
30
  <div class="nav">
31
31
  &laquo;&nbsp;<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.7.1: class ImageList</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
23
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
24
24
 
25
25
  <div class="nav">
26
26
  &laquo;&nbsp;<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 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.7.1: class Image (class methods and instance
9
+ <title>RMagick 2.7.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 @@
48
48
  </head>
49
49
 
50
50
  <body>
51
- <h6 id="header">RMagick 2.7.1 User's Guide and Reference</h6>
51
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
52
52
 
53
53
  <div class="nav">
54
54
  &laquo;&nbsp;<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.7.1: class Image (instance methods e-o)</title>
9
+ <title>RMagick 2.7.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 @@
47
47
  </head>
48
48
 
49
49
  <body>
50
- <h6 id="header">RMagick 2.7.1 User's Guide and Reference</h6>
50
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
51
51
 
52
52
  <div class="nav">
53
53
  &laquo;&nbsp;<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.7.1: class Image (instance methods p-w)</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
54
+ <h6 id="header">RMagick 2.7.2 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=
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.7.1: class Image (attribute methods)</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
28
+ <h6 id="header">RMagick 2.7.2 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=
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.7.1: ImageMagick Conventions</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
72
+ <h6 id="header">RMagick 2.7.2 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=
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.7.1 User's Guide and Reference</title>
9
+ <title>RMagick 2.7.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.7.1</p>
108
+ Version 2.7.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.7.1 of RMagick. It is
296
+ <p>This document describes Version 2.7.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 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.7.1: class Image::Info - Optional method
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
47
+ <h6 id="header">RMagick 2.7.2 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=
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.7.1: module Magick</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
27
+ <h6 id="header">RMagick 2.7.2 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=
data/doc/optequiv.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.7.1: Magick Command Options and Their Equivalent
9
+ <title>RMagick 2.7.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 @@
70
70
  </head>
71
71
 
72
72
  <body>
73
- <h6 id="header">RMagick 2.7.1 User's Guide and Reference</h6>
73
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
74
74
 
75
75
  <div class="nav">
76
76
  &laquo; <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.7.1: RVG Reference: RVG Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::ClipPath Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Group Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Image Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Pattern Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: Shapes</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
31
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
32
32
 
33
33
  <div class="nav">
34
34
  &laquo;&nbsp;<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.7.1: RVG Reference: Styles</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Text Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
36
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
37
37
 
38
38
  <div class="nav">
39
39
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Tspan Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Tutorial</title>
12
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
26
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
27
27
 
28
28
  <div class="nav">
29
29
  &laquo;&nbsp;<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.7.1: RVG Reference: RVG::Use Class</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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.7.1: RVG Reference: Transforms</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
31
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
32
32
 
33
33
  <div class="nav">
34
34
  &laquo;&nbsp;<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.7.1: Miscellaneous classes</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
30
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
31
31
 
32
32
  <div class="nav">
33
33
  &laquo;&nbsp;<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 6 November 2007), see www.w3.org" />
8
8
 
9
- <title>RMagick 2.7.1: How to use RMagick</title>
9
+ <title>RMagick 2.7.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.7.1 User's Guide and Reference</h6>
93
+ <h6 id="header">RMagick 2.7.2 User's Guide and Reference</h6>
94
94
 
95
95
  <div class="nav">
96
96
  &laquo;&nbsp;<a href="index.html">Prev</a> | <a href=
data/ext/RMagick/MANIFEST CHANGED
@@ -1,4 +1,4 @@
1
- MANIFEST for RMagick-2.7.1 - 18:29:34 11/01/08
1
+ MANIFEST for RMagick-2.7.2 - 17:20:46 11/13/08
2
2
 
3
3
  doc/ilist.html
4
4
  doc/scripts/stripeTables.js
@@ -1,7 +1,7 @@
1
1
  require "mkmf"
2
2
  require "date"
3
3
 
4
- RMAGICK_VERS = "2.7.1"
4
+ RMAGICK_VERS = "2.7.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"
@@ -221,6 +221,8 @@ end
221
221
 
222
222
 
223
223
  have_struct_member("ImageInfo", "profile", headers) # 6.3.2
224
+ have_struct_member("Image", "tile_offset", headers) # 6.3.4
225
+ have_struct_member("Image", "type", headers) # ???
224
226
  have_type("AlphaChannelType", headers) # 6.3.5
225
227
  have_type("DitherMethod", headers) # 6.4.2
226
228
  have_type("ImageLayerMethod", headers) # 6.3.6 replaces MagickLayerMethod
@@ -1,4 +1,4 @@
1
- /* $Id: rmagick.h,v 1.256 2008/10/30 23:22:46 rmagick Exp $ */
1
+ /* $Id: rmagick.h,v 1.257 2008/11/13 00:01:34 rmagick Exp $ */
2
2
  /*=============================================================================
3
3
  | Copyright (C) 2008 by Timothy P. Hunter
4
4
  | Name: rmagick.h
@@ -714,7 +714,8 @@ extern VALUE Info_channel(int, VALUE *, VALUE);
714
714
  extern VALUE Info_undefine(VALUE, VALUE, VALUE);
715
715
  extern VALUE Info_initialize(VALUE);
716
716
  extern VALUE rm_info_new(void);
717
-
717
+ extern DisposeType rm_dispose_to_enum(const char *);
718
+ extern GravityType rm_gravity_to_enum(const char *);
718
719
 
719
720
  // rmimage.c
720
721
  ATTR_WRITER(Image, alpha)
@@ -1137,6 +1138,8 @@ extern void rm_get_geometry(VALUE, long *, long *, unsigned long *, unsigned l
1137
1138
  extern const char *rm_get_property(const Image *, const char *);
1138
1139
  extern MagickBooleanType rm_set_property(Image *, const char *, const char *);
1139
1140
  extern void rm_set_user_artifact(Image *, Info *);
1141
+ void rm_set_magick_pixel_packet(Pixel *, IndexPacket *, MagickPixelPacket *);
1142
+ extern void rm_sync_image_options(Image *, Info *);
1140
1143
  extern void rm_split(Image *);
1141
1144
  extern void rm_magick_error(const char *, const char *);
1142
1145
 
@@ -1,4 +1,4 @@
1
- /* $Id: rmilist.c,v 1.87 2008/09/28 00:23:10 rmagick Exp $ */
1
+ /* $Id: rmilist.c,v 1.90 2008/11/13 00:03:32 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2008 by Timothy P. Hunter
4
4
  | Name: rmilist.c
@@ -11,6 +11,7 @@
11
11
  static Image *clone_imagelist(Image *);
12
12
  static Image *images_from_imagelist(VALUE);
13
13
  static long imagelist_length(VALUE);
14
+ static long check_imagelist_length(VALUE);
14
15
  static VALUE imagelist_scene_eq(VALUE, VALUE);
15
16
  static void imagelist_push(VALUE, VALUE);
16
17
  static VALUE ImageList_new(void);
@@ -38,6 +39,9 @@ ImageList_animate(int argc, VALUE *argv, VALUE self)
38
39
  rb_raise(rb_eArgError, "wrong number of arguments (%d for 0 or 1)", argc);
39
40
  }
40
41
 
42
+ // Create a new Info object to use with this call
43
+ info_obj = rm_info_new();
44
+
41
45
  // Convert the images array to an images sequence.
42
46
  images = images_from_imagelist(self);
43
47
 
@@ -53,11 +57,7 @@ ImageList_animate(int argc, VALUE *argv, VALUE self)
53
57
  }
54
58
  }
55
59
 
56
-
57
- // Create a new Info object to use with this call
58
- info_obj = rm_info_new();
59
60
  Data_Get_Struct(info_obj, Info, info);
60
-
61
61
  (void) AnimateImages(info, images);
62
62
  rm_check_image_exception(images, RetainOnError);
63
63
  rm_split(images);
@@ -369,11 +369,6 @@ ImageList_map(int argc, VALUE *argv, VALUE self)
369
369
  }
370
370
 
371
371
 
372
- if (imagelist_length(self) == 0L)
373
- {
374
- rb_raise(rb_eArgError, "no images in this image list");
375
- }
376
-
377
372
  // Convert image array to image sequence, clone image sequence.
378
373
  GetExceptionInfo(&exception);
379
374
 
@@ -464,10 +459,6 @@ ImageList_morph(VALUE self, VALUE nimages)
464
459
  ExceptionInfo exception;
465
460
  long number_images;
466
461
 
467
- if (imagelist_length(self) < 1L)
468
- {
469
- rb_raise(rb_eArgError, "no images in this image list");
470
- }
471
462
 
472
463
  // Use a signed long so we can test for a negative argument.
473
464
  number_images = NUM2LONG(nimages);
@@ -569,6 +560,7 @@ ImageList_optimize_layers(VALUE self, VALUE method)
569
560
  #endif
570
561
  #if defined(HAVE_ENUM_COMPOSITELAYER)
571
562
  case CompositeLayer:
563
+ rm_split(images);
572
564
  rb_raise(rb_eNotImpError, "Magick::CompositeLayer is not supported. Use the composite_layers method instead.");
573
565
  break;
574
566
  #endif
@@ -625,6 +617,7 @@ ImageList_optimize_layers(VALUE self, VALUE method)
625
617
  break;
626
618
  #endif
627
619
  default:
620
+ rm_split(images);
628
621
  rb_raise(rb_eArgError, "undefined layer method");
629
622
  break;
630
623
  }
@@ -693,11 +686,7 @@ images_from_imagelist(VALUE imagelist)
693
686
  Image *head = NULL;
694
687
  volatile VALUE images, t;
695
688
 
696
- len = imagelist_length(imagelist);
697
- if (len == 0)
698
- {
699
- rb_raise(rb_eArgError, "no images in this image list");
700
- }
689
+ len = check_imagelist_length(imagelist);
701
690
 
702
691
  images = rb_iv_get(imagelist, "@images");
703
692
  for (x = 0; x < len; x++)
@@ -738,6 +727,24 @@ imagelist_length(VALUE imagelist)
738
727
  }
739
728
 
740
729
 
730
+ /*
731
+ Static: check_imagelist_length
732
+ Purpose: raise exception if imagelist is emtpy
733
+ */
734
+ static long
735
+ check_imagelist_length(VALUE imagelist)
736
+ {
737
+ long len = imagelist_length(imagelist);
738
+
739
+ if (len == 0)
740
+ {
741
+ rb_raise(rb_eArgError, "no images in this image list");
742
+ }
743
+
744
+ return len;
745
+ }
746
+
747
+
741
748
  /*
742
749
  Static: imagelist_push
743
750
  Purpose: push an image onto the end of the imagelist
@@ -821,10 +828,6 @@ ImageList_quantize(int argc, VALUE *argv, VALUE self)
821
828
  break;
822
829
  }
823
830
 
824
- if (imagelist_length(self) == 0L)
825
- {
826
- rb_raise(rb_eArgError, "no images in this image list");
827
- }
828
831
 
829
832
  // Convert image array to image sequence, clone image sequence.
830
833
  GetExceptionInfo(&exception);
@@ -868,7 +871,6 @@ ImageList_remap(int argc, VALUE *argv, VALUE self)
868
871
  Image *images, *remap_image = NULL;
869
872
  QuantizeInfo quantize_info;
870
873
 
871
- images = images_from_imagelist(self);
872
874
 
873
875
  if (argc > 0 && argv[0] != Qnil)
874
876
  {
@@ -888,6 +890,8 @@ ImageList_remap(int argc, VALUE *argv, VALUE self)
888
890
  rb_raise(rb_eArgError, "wrong number of arguments (%d for 1 or 2)", argc);
889
891
  }
890
892
 
893
+ images = images_from_imagelist(self);
894
+
891
895
  #if defined(HAVE_REMAPIMAGES)
892
896
  (void) RemapImages(&quantize_info, images, remap_image);
893
897
  #else
@@ -916,7 +920,7 @@ ImageList_remap(int argc, VALUE *argv, VALUE self)
916
920
  VALUE
917
921
  ImageList_to_blob(VALUE self)
918
922
  {
919
- Image *images;
923
+ Image *images, *image;
920
924
  Info *info;
921
925
  volatile VALUE info_obj;
922
926
  volatile VALUE blob_str;
@@ -943,6 +947,11 @@ ImageList_to_blob(VALUE self)
943
947
  }
944
948
  }
945
949
 
950
+ for (image = images; image; image = GetNextImageInList(image))
951
+ {
952
+ rm_sync_image_options(image, info);
953
+ }
954
+
946
955
  // Unconditionally request multi-images support. The worst that
947
956
  // can happen is that there's only one image or the format
948
957
  // doesn't support multi-image files.
@@ -1035,6 +1044,7 @@ ImageList_write(VALUE self, VALUE file)
1035
1044
 
1036
1045
  for (img = images; img; img = GetNextImageInList(img))
1037
1046
  {
1047
+ rm_sync_image_options(img, info);
1038
1048
  (void) WriteImage(info, img);
1039
1049
  // images will be split before raising an exception
1040
1050
  rm_check_image_exception(images, RetainOnError);
@@ -1,4 +1,4 @@
1
- /* $Id: rmimage.c,v 1.328 2008/10/30 22:23:39 rmagick Exp $ */
1
+ /* $Id: rmimage.c,v 1.329 2008/11/13 00:04:26 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2008 by Timothy P. Hunter
4
4
  | Name: rmimage.c
@@ -10009,6 +10009,8 @@ Image_to_blob(VALUE self)
10009
10009
  }
10010
10010
  }
10011
10011
 
10012
+ rm_sync_image_options(image, info);
10013
+
10012
10014
  blob = ImageToBlob(info, image, &length, &exception);
10013
10015
  CHECK_EXCEPTION()
10014
10016
 
@@ -10999,6 +11001,8 @@ Image_write(VALUE self, VALUE file)
10999
11001
  SetImageInfoFile(info, NULL);
11000
11002
  }
11001
11003
 
11004
+ rm_sync_image_options(image, info);
11005
+
11002
11006
  info->adjoin = MagickFalse;
11003
11007
  (void) WriteImage(info, image);
11004
11008
  rm_check_image_exception(image, RetainOnError);
data/ext/RMagick/rminfo.c CHANGED
@@ -1,4 +1,4 @@
1
- /* $Id: rminfo.c,v 1.72 2008/08/26 22:36:15 rmagick Exp $ */
1
+ /* $Id: rminfo.c,v 1.73 2008/11/13 00:06:57 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2008 by Timothy P. Hunter
4
4
  | Name: rminfo.c
@@ -162,6 +162,21 @@ static VALUE set_dbl_option(VALUE self, const char *option, VALUE value)
162
162
  }
163
163
 
164
164
 
165
+ /*
166
+ Static: pixel_packet_to_hexname(pp, name)
167
+ Purpose: convert a PixelPacket to a hex-format color name
168
+ */
169
+ static char *pixel_packet_to_hexname(PixelPacket *pp, char *name)
170
+ {
171
+ MagickPixelPacket mpp;
172
+
173
+ GetMagickPixelPacket(NULL, &mpp);
174
+ rm_set_magick_pixel_packet(pp, NULL, &mpp);
175
+ (void) GetColorTuple(&mpp, MagickTrue, name);
176
+ return name;
177
+ }
178
+
179
+
165
180
  DEF_ATTR_ACCESSOR(Info, antialias, bool)
166
181
 
167
182
  /*
@@ -368,6 +383,7 @@ Info_background_color(VALUE self)
368
383
  return PixelPacket_to_Color_Name_Info(info, &info->background_color);
369
384
  }
370
385
 
386
+
371
387
  /*
372
388
  Method: Info#background_color=<aString>
373
389
  Purpose: set the background color
@@ -377,9 +393,11 @@ VALUE
377
393
  Info_background_color_eq(VALUE self, VALUE bc_arg)
378
394
  {
379
395
  Info *info;
396
+ char colorname[MaxTextExtent];
380
397
 
381
398
  Data_Get_Struct(self, Info, info);
382
399
  Color_to_PixelPacket(&info->background_color, bc_arg);
400
+ SetImageOption(info, "background", pixel_packet_to_hexname(&info->background_color, colorname));
383
401
  return self;
384
402
  }
385
403
 
@@ -406,9 +424,11 @@ VALUE
406
424
  Info_border_color_eq(VALUE self, VALUE bc_arg)
407
425
  {
408
426
  Info *info;
427
+ char colorname[MaxTextExtent];
409
428
 
410
429
  Data_Get_Struct(self, Info, info);
411
430
  Color_to_PixelPacket(&info->border_color, bc_arg);
431
+ SetImageOption(info, "bordercolor", pixel_packet_to_hexname(&info->border_color, colorname));
412
432
  return self;
413
433
  }
414
434
 
@@ -736,6 +756,25 @@ static struct
736
756
  };
737
757
  #define N_DISPOSE_OPTIONS (int)(sizeof(Dispose_Option)/sizeof(Dispose_Option[0]))
738
758
 
759
+
760
+ DisposeType rm_dispose_to_enum(const char *name)
761
+ {
762
+ DisposeType dispose = UndefinedDispose;
763
+ int x;
764
+
765
+ for (x = 0; x < N_DISPOSE_OPTIONS; x++)
766
+ {
767
+ if (strcmp(Dispose_Option[x].string, name) == 0)
768
+ {
769
+ dispose = Dispose_Option[x].enumerator;
770
+ break;
771
+ }
772
+ }
773
+
774
+ return dispose;
775
+ }
776
+
777
+
739
778
  VALUE
740
779
  Info_dispose(VALUE self)
741
780
  {
@@ -1027,6 +1066,25 @@ static struct
1027
1066
  };
1028
1067
  #define N_GRAVITY_OPTIONS (int)(sizeof(Gravity_Option)/sizeof(Gravity_Option[0]))
1029
1068
 
1069
+
1070
+ GravityType rm_gravity_to_enum(const char *name)
1071
+ {
1072
+ GravityType gravity = UndefinedGravity;
1073
+ int x;
1074
+
1075
+ for (x = 0; x < N_GRAVITY_OPTIONS; x++)
1076
+ {
1077
+ if (strcmp(name, Gravity_Option[x].string) == 0)
1078
+ {
1079
+ gravity = Gravity_Option[x].enumerator;
1080
+ break;
1081
+ }
1082
+ }
1083
+
1084
+ return gravity;
1085
+ }
1086
+
1087
+
1030
1088
  VALUE Info_gravity(VALUE self)
1031
1089
  {
1032
1090
  Info *info;
@@ -1178,9 +1236,11 @@ VALUE
1178
1236
  Info_matte_color_eq(VALUE self, VALUE matte_arg)
1179
1237
  {
1180
1238
  Info *info;
1239
+ char colorname[MaxTextExtent];
1181
1240
 
1182
1241
  Data_Get_Struct(self, Info, info);
1183
1242
  Color_to_PixelPacket(&info->matte_color, matte_arg);
1243
+ SetImageOption(info, "mattecolor", pixel_packet_to_hexname(&info->matte_color, colorname));
1184
1244
  return self;
1185
1245
  }
1186
1246
 
data/ext/RMagick/rmutil.c CHANGED
@@ -1,4 +1,4 @@
1
- /* $Id: rmutil.c,v 1.170 2008/11/01 22:27:05 rmagick Exp $ */
1
+ /* $Id: rmutil.c,v 1.171 2008/11/13 00:02:22 rmagick Exp $ */
2
2
  /*============================================================================\
3
3
  | Copyright (C) 2008 by Timothy P. Hunter
4
4
  | Name: rmutil.c
@@ -610,7 +610,7 @@ Pixel_from_color(VALUE class, VALUE name)
610
610
  Notes: Same code as the private function SetMagickPixelPacket
611
611
  in ImageMagick.
612
612
  */
613
- static void
613
+ void
614
614
  rm_set_magick_pixel_packet(Pixel *pixel, IndexPacket *index_packet, MagickPixelPacket *pp)
615
615
  {
616
616
  pp->red = (MagickRealType) pixel->red;
@@ -3427,6 +3427,200 @@ rm_get_optional_arguments(VALUE img)
3427
3427
  }
3428
3428
 
3429
3429
 
3430
+ /*
3431
+ Static: copy_options
3432
+ Purpose: copy image options from the Info structure to the Image structure
3433
+ */
3434
+ #if defined(HAVE_SETIMAGEARTIFACT)
3435
+ static void copy_options(Image *image, Info *info)
3436
+ {
3437
+ char property[MaxTextExtent];
3438
+ const char *value, *option;
3439
+
3440
+ ResetImageOptionIterator(info);
3441
+ for (option = GetNextImageOption(info); option; option = GetNextImageOption(info))
3442
+ {
3443
+ value = GetImageOption(info,option);
3444
+ if (value)
3445
+ {
3446
+ strncpy(property, value, MaxTextExtent);
3447
+ property[MaxTextExtent-1] = '\0';
3448
+ (void) SetImageArtifact(image, property, value);
3449
+ }
3450
+ }
3451
+ }
3452
+ #endif
3453
+
3454
+
3455
+ /*
3456
+ Extern: rm_sync_image_options
3457
+ Purpose: Propagate ImageInfo values to the Image
3458
+ Ref: SyncImageSettings (in mogrify.c)
3459
+ */
3460
+ void rm_sync_image_options(Image *image, Info *info)
3461
+ {
3462
+ MagickStatusType flags;
3463
+ GeometryInfo geometry_info;
3464
+ const char *option;
3465
+
3466
+ // The option strings will be set only when their attribute values were
3467
+ // set in the optional argument block.
3468
+ option = GetImageOption(info,"background");
3469
+ if (option)
3470
+ {
3471
+ image->background_color = info->background_color;
3472
+ }
3473
+
3474
+ option = GetImageOption(info,"bordercolor");
3475
+ if (option)
3476
+ {
3477
+ image->border_color = info->border_color;
3478
+ }
3479
+
3480
+ if (info->colors != 0)
3481
+ {
3482
+ image->colors = info->colors;
3483
+ }
3484
+
3485
+ if (info->colorspace != UndefinedColorspace)
3486
+ {
3487
+ image->colorspace = info->colorspace;
3488
+ }
3489
+
3490
+ if (info->compression != UndefinedCompression)
3491
+ {
3492
+ image->compression = info->compression;
3493
+ }
3494
+
3495
+ option = GetImageOption(info, "delay");
3496
+ if (option)
3497
+ {
3498
+ image->delay = strtoul(option, NULL, 0);
3499
+ }
3500
+
3501
+ if (info->density)
3502
+ {
3503
+ flags = ParseGeometry(info->density, &geometry_info);
3504
+ image->x_resolution = geometry_info.rho;
3505
+ image->y_resolution = geometry_info.sigma;
3506
+ if ((flags & SigmaValue) == 0)
3507
+ {
3508
+ image->y_resolution = image->x_resolution;
3509
+ }
3510
+ }
3511
+
3512
+ if (info->depth != 0)
3513
+ {
3514
+ image->depth = info->depth;
3515
+ }
3516
+
3517
+ option = GetImageOption(info, "dispose");
3518
+ if (option)
3519
+ {
3520
+ image->dispose = rm_dispose_to_enum(option);
3521
+ }
3522
+
3523
+ if (info->extract)
3524
+ {
3525
+ ParseAbsoluteGeometry(info->extract, &image->extract_info);
3526
+ }
3527
+
3528
+ if (info->fuzz != 0.0)
3529
+ {
3530
+ image->fuzz = info->fuzz;
3531
+ }
3532
+
3533
+ option = GetImageOption(info, "gravity");
3534
+ if (option)
3535
+ {
3536
+ image->gravity = rm_gravity_to_enum(option);
3537
+ }
3538
+
3539
+ if (info->interlace != NoInterlace)
3540
+ {
3541
+ image->interlace = info->interlace;
3542
+ }
3543
+
3544
+ option = GetImageOption(info,"mattecolor");
3545
+ if (option)
3546
+ {
3547
+ image->matte_color = info->matte_color;
3548
+ }
3549
+
3550
+ if (info->orientation != UndefinedOrientation)
3551
+ {
3552
+ image->orientation = info->orientation;
3553
+ }
3554
+
3555
+ if (info->page)
3556
+ {
3557
+ (void)ParseAbsoluteGeometry(info->page, &image->page);
3558
+ }
3559
+
3560
+ if (info->quality != 0UL)
3561
+ {
3562
+ image->quality = info->quality;
3563
+ }
3564
+
3565
+ #if defined(HAVE_ST_TILE_OFFSET)
3566
+ option = GetImageOption(info, "tile-offset");
3567
+ if (option)
3568
+ {
3569
+ (void)ParseAbsoluteGeometry(option, &image->tile_offset);
3570
+ }
3571
+ #endif
3572
+
3573
+ option = GetImageOption(info, "transparent-color");
3574
+ if (option)
3575
+ {
3576
+ image->transparent_color = info->transparent_color;
3577
+ }
3578
+
3579
+ #if defined(HAVE_ST_TYPE)
3580
+ if (info->type != UndefinedType)
3581
+ {
3582
+ image->type = info->type;
3583
+ }
3584
+ #endif
3585
+
3586
+ if (info->units != UndefinedResolution)
3587
+ {
3588
+ if (image->units != info->units)
3589
+ {
3590
+ switch (image->units)
3591
+ {
3592
+ case PixelsPerInchResolution:
3593
+ {
3594
+ if (info->units == PixelsPerCentimeterResolution)
3595
+ {
3596
+ image->x_resolution /= 2.54;
3597
+ image->y_resolution /= 2.54;
3598
+ }
3599
+ break;
3600
+ }
3601
+ case PixelsPerCentimeterResolution:
3602
+ {
3603
+ if (info->units == PixelsPerInchResolution)
3604
+ {
3605
+ image->x_resolution *= 2.54;
3606
+ image->y_resolution *= 2.54;
3607
+ }
3608
+ break;
3609
+ }
3610
+ default:
3611
+ break;
3612
+ }
3613
+ }
3614
+
3615
+ image->units = info->units;
3616
+ }
3617
+
3618
+ #if defined(HAVE_SETIMAGEARTIFACT)
3619
+ copy_options(image, info);
3620
+ #endif
3621
+ }
3622
+
3623
+
3430
3624
  /*
3431
3625
  Function: rm_exif_by_entry
3432
3626
  Purpose: replicate old (< 6.3.2) EXIF:* functionality using GetImageProperty
data/rmagick.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  Gem::Specification.new do |s|
3
3
  s.name = %q{rmagick}
4
- s.version = "2.7.1"
4
+ s.version = "2.7.2"
5
5
  s.date = Date.today.to_s
6
6
  s.summary = %q{Ruby binding to ImageMagick}
7
7
  s.description = %q{RMagick is an interface between Ruby and ImageMagick.}
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.7.1
4
+ version: 2.7.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-11-01 00:00:00 -04:00
12
+ date: 2008-11-13 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15