rmagick 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rmagick might be problematic. Click here for more details.
- data/ChangeLog +14 -0
- data/README.html +7 -7
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +9 -9
- data/doc/draw.html +2 -2
- data/doc/ex/clip_path.rb +2 -2
- data/doc/ex/{affinity.rb → remap.rb} +1 -1
- data/doc/ex/{affinity_images.rb → remap_images.rb} +2 -2
- data/doc/ilist.html +75 -65
- data/doc/image1.html +83 -97
- data/doc/image2.html +21 -22
- data/doc/image3.html +74 -17
- 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 +30 -30
- 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 +18 -29
- data/ext/RMagick/MANIFEST +3 -3
- data/ext/RMagick/extconf.rb +13 -8
- data/ext/RMagick/rmagick.h +3 -3
- data/ext/RMagick/rmilist.c +60 -49
- data/ext/RMagick/rmimage.c +58 -56
- data/ext/RMagick/rmmain.c +20 -5
- data/ext/RMagick/rmutil.c +4 -2
- data/lib/RMagick.rb +6 -1
- data/rmagick.gemspec +1 -1
- metadata +4 -4
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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
31
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
36
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
12
|
+
<title>RMagick 2.7.0: 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.
|
26
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
31
|
+
<h6 id="header">RMagick 2.7.0 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.
|
9
|
+
<title>RMagick 2.7.0: 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.
|
30
|
+
<h6 id="header">RMagick 2.7.0 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
@@ -4,19 +4,19 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
5
5
|
<head>
|
6
6
|
<meta name="generator" content=
|
7
|
-
"HTML Tidy for Linux/x86 (vers
|
7
|
+
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 2.
|
9
|
+
<title>RMagick 2.7.0: 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" />
|
13
13
|
<meta name="Copyright" content=
|
14
14
|
"Copyright (C) 2006 by Timothy P. Hunter" />
|
15
15
|
<link rel="stylesheet" type="text/css" href="css/doc.css" />
|
16
|
-
<script type="text/javascript" src="scripts/doc.js">
|
16
|
+
<script type="text/javascript" src="scripts/doc.js">
|
17
17
|
</script>
|
18
|
-
<style type="text/css">
|
19
|
-
|
18
|
+
<style type="text/css">
|
19
|
+
/*<![CDATA[*/
|
20
20
|
|
21
21
|
/* Styles local to this page. */
|
22
22
|
|
@@ -83,14 +83,14 @@
|
|
83
83
|
.sup {
|
84
84
|
vertical-align: super;
|
85
85
|
font-size: x-small;
|
86
|
-
}
|
86
|
+
}
|
87
87
|
|
88
88
|
/*]]>*/
|
89
|
-
</style>
|
89
|
+
</style>
|
90
90
|
</head>
|
91
91
|
|
92
92
|
<body>
|
93
|
-
<h6 id="header">RMagick 2.
|
93
|
+
<h6 id="header">RMagick 2.7.0 User's Guide and Reference</h6>
|
94
94
|
|
95
95
|
<div class="nav">
|
96
96
|
« <a href="index.html">Prev</a> | <a href=
|
@@ -613,33 +613,12 @@ exit
|
|
613
613
|
<h4>Reduce the number of colors</h4>
|
614
614
|
|
615
615
|
<dl>
|
616
|
-
<dt><a href="image1.html#affinity">affinity</a></dt>
|
617
|
-
|
618
|
-
<dd>Change the colors in the image to the colors in a
|
619
|
-
reference image.</dd>
|
620
|
-
|
621
|
-
<dt class="ilist"><a href=
|
622
|
-
"ilist.html#affinity">affinity</a></dt>
|
623
|
-
|
624
|
-
<dd class="ilist">Change the images in the imagelist to use a
|
625
|
-
common color map.</dd>
|
626
|
-
|
627
616
|
<dt><a href=
|
628
617
|
"image1.html#compress_colormap_bang">compress_colormap!</a></dt>
|
629
618
|
|
630
619
|
<dd>Remove duplicate or unused entries in the image's
|
631
620
|
colormap</dd>
|
632
621
|
|
633
|
-
<dt><a href="image2.html#map">map</a></dt>
|
634
|
-
|
635
|
-
<dd>Replace the colors of the image with the nearest colors
|
636
|
-
from a reference image</dd>
|
637
|
-
|
638
|
-
<dt class="ilist"><a href="ilist.html#map">map</a></dt>
|
639
|
-
|
640
|
-
<dd class="ilist">Replace the colors of all the images in the
|
641
|
-
imagelist with the nearest colors from a reference image</dd>
|
642
|
-
|
643
622
|
<dt><a href=
|
644
623
|
"image2.html#ordered_dither">ordered_dither</a></dt>
|
645
624
|
|
@@ -659,6 +638,16 @@ exit
|
|
659
638
|
|
660
639
|
<dd class="ilist">Choose a fixed number of colors to
|
661
640
|
represent all the images in the imagelist</dd>
|
641
|
+
|
642
|
+
<dt><a href="image3.html#remap">remap</a></dt>
|
643
|
+
|
644
|
+
<dd>Change the colors in the image to the colors in a
|
645
|
+
reference image.</dd>
|
646
|
+
|
647
|
+
<dt class="ilist"><a href="ilist.html#remap">remap</a></dt>
|
648
|
+
|
649
|
+
<dd class="ilist">Change the images in the imagelist to use a
|
650
|
+
common color map.</dd>
|
662
651
|
</dl>
|
663
652
|
|
664
653
|
<h4>Resize</h4>
|
data/ext/RMagick/MANIFEST
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
MANIFEST for RMagick-2.
|
1
|
+
MANIFEST for RMagick-2.7.0 - 14:42:02 09/28/08
|
2
2
|
|
3
3
|
doc/ilist.html
|
4
4
|
doc/scripts/stripeTables.js
|
@@ -192,10 +192,11 @@ doc/ex/trim.rb
|
|
192
192
|
doc/ex/stroke_dasharray.rb
|
193
193
|
doc/ex/arcs01.rb
|
194
194
|
doc/ex/median_filter.rb
|
195
|
+
doc/ex/remap.rb
|
195
196
|
doc/ex/rvg_clippath.rb
|
196
197
|
doc/ex/bounding_box.rb
|
198
|
+
doc/ex/remap_images.rb
|
197
199
|
doc/ex/pattern2.rb
|
198
|
-
doc/ex/affinity.rb
|
199
200
|
doc/ex/composite_tiled.rb
|
200
201
|
doc/ex/shave.rb
|
201
202
|
doc/ex/wave.rb
|
@@ -232,7 +233,6 @@ doc/ex/rvg_opacity.rb
|
|
232
233
|
doc/ex/equalize.rb
|
233
234
|
doc/ex/get_pixels.rb
|
234
235
|
doc/ex/polyline.rb
|
235
|
-
doc/ex/affinity_images.rb
|
236
236
|
doc/ex/level_colors.rb
|
237
237
|
doc/ex/composite_layers.rb
|
238
238
|
doc/ex/text01.rb
|
data/ext/RMagick/extconf.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "mkmf"
|
2
2
|
require "date"
|
3
3
|
|
4
|
-
RMAGICK_VERS = "2.
|
4
|
+
RMAGICK_VERS = "2.7.0"
|
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"
|
@@ -101,10 +101,10 @@ if RUBY_PLATFORM !~ /mswin/
|
|
101
101
|
end
|
102
102
|
|
103
103
|
# Save flags
|
104
|
-
$CFLAGS
|
105
|
-
$CPPFLAGS
|
106
|
-
$LDFLAGS
|
107
|
-
$LOCAL_LIBS = `Magick-config --libs`.chomp
|
104
|
+
$CFLAGS = ENV["CFLAGS"].to_s + " " + `Magick-config --cflags`.chomp
|
105
|
+
$CPPFLAGS = ENV["CPPFLAGS"].to_s + " " + `Magick-config --cppflags`.chomp
|
106
|
+
$LDFLAGS = ENV["LDFLAGS"].to_s + " " + `Magick-config --ldflags`.chomp
|
107
|
+
$LOCAL_LIBS = ENV["LIBS"].to_s + " " + `Magick-config --libs`.chomp
|
108
108
|
|
109
109
|
else # mswin
|
110
110
|
|
@@ -175,6 +175,7 @@ have_func("snprintf", headers)
|
|
175
175
|
"OpaquePaintImageChannel", # 6.3.7-10
|
176
176
|
"PolaroidImage", # 6.3.1-6
|
177
177
|
"RecolorImage", # 6.3.1-3
|
178
|
+
"RemapImage", # 6.4.4-0
|
178
179
|
"RemoveImageArtifact", # 6.3.6
|
179
180
|
"ResetImagePage", # 6.3.3
|
180
181
|
"ResizeQuantumMemory", # 6.3.5-9
|
@@ -231,6 +232,7 @@ check_sizeof("unsigned long", headers)
|
|
231
232
|
check_sizeof("Image *", headers)
|
232
233
|
|
233
234
|
|
235
|
+
have_enum_value("AlphaChannelType", "CopyAlphaChannel", headers) # 6.4.3-7
|
234
236
|
have_enum_value("ColorspaceType", "CMYColorspace", headers) # 6.3.5
|
235
237
|
have_enum_values("CompositeOperator", ["ChangeMaskCompositeOp", # 6.3.3
|
236
238
|
"LinearLightCompositeOp", # 6.3.5
|
@@ -240,11 +242,13 @@ have_enum_values("CompressionType", ["DXT1Compression", # 6
|
|
240
242
|
"DXT5Compression"], headers) # 6.3.9-3
|
241
243
|
have_enum_values("DistortImageMethod", ["ArcDistortion", # 6.3.5-5
|
242
244
|
"BarrelDistortion", # 6.4.2-5
|
245
|
+
"BarrelInverseDistortion", # 6.4.3-8
|
243
246
|
"DePolarDistortion", # 6.4.2-6
|
244
247
|
"PerspectiveProjectionDistortion", # 6.3.5-9
|
245
248
|
"PolarDistortion", # 6.4.2-6
|
246
249
|
"PolynomialDistortion", # 6.4.2-4
|
247
250
|
"ShepardsDistortion"], headers) # 6.4.2-4
|
251
|
+
have_enum_values("DitherMethod", "NoDitherMethod", headers) # 6.4.3
|
248
252
|
have_enum_values("FilterTypes", ["KaiserFilter", # 6.3.6
|
249
253
|
"WelshFilter", # 6.3.6-4
|
250
254
|
"ParzenFilter", # 6.3.6-4
|
@@ -261,10 +265,11 @@ have_enum_values("MagickLayerMethod", ["OptimizeTransLayer", # 6
|
|
261
265
|
"RemoveDupsLayer", # 6.3.3-6
|
262
266
|
"RemoveZeroLayer", # 6.3.3-6
|
263
267
|
"CompositeLayer", # 6.3.3-6
|
264
|
-
"FlattenLayer", # 6.3.6-2
|
265
|
-
"MergeLayer", # 6.3.6
|
266
|
-
"MosaicLayer", # 6.3.6-2
|
267
268
|
"OptimizeImageLayer"], headers) # 6.3.3-?
|
269
|
+
have_enum_values("ImageLayerMethod", ["FlattenLayer", # 6.3.6-2
|
270
|
+
"MergeLayer", # 6.3.6
|
271
|
+
"MosaicLayer", # 6.3.6-2
|
272
|
+
"TrimBoundsLayer" ], headers) # 6.4.3-8
|
268
273
|
have_enum_value("MetricType", "MeanErrorPerPixelMetric", headers) # 6.3.4-?
|
269
274
|
have_enum_value("NoiseType", "RandomNoise", headers) # 6.3.5-0
|
270
275
|
have_enum_values("VirtualPixelMethod", ["MaskVirtualPixelMethod", # 6.3.3
|
data/ext/RMagick/rmagick.h
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmagick.h,v 1.
|
1
|
+
/* $Id: rmagick.h,v 1.249 2008/09/28 00:23:10 rmagick Exp $ */
|
2
2
|
/*=============================================================================
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmagick.h
|
@@ -623,7 +623,6 @@ ATTR_WRITER(PolaroidOptions, border_color);
|
|
623
623
|
|
624
624
|
|
625
625
|
// rmilist.c
|
626
|
-
extern VALUE ImageList_affinity(int, VALUE *, VALUE);
|
627
626
|
extern VALUE ImageList_animate(int, VALUE *, VALUE);
|
628
627
|
extern VALUE ImageList_append(VALUE, VALUE);
|
629
628
|
extern VALUE ImageList_average(VALUE);
|
@@ -639,6 +638,7 @@ extern VALUE ImageList_morph(VALUE, VALUE);
|
|
639
638
|
extern VALUE ImageList_mosaic(VALUE);
|
640
639
|
extern VALUE ImageList_optimize_layers(VALUE, VALUE);
|
641
640
|
extern VALUE ImageList_quantize(int, VALUE*, VALUE);
|
641
|
+
extern VALUE ImageList_remap(int, VALUE *, VALUE);
|
642
642
|
extern VALUE ImageList_to_blob(VALUE);
|
643
643
|
extern VALUE ImageList_write(VALUE, VALUE);
|
644
644
|
|
@@ -790,7 +790,6 @@ extern VALUE Image_add_noise(VALUE, VALUE);
|
|
790
790
|
extern VALUE Image_add_noise_channel(int, VALUE *, VALUE);
|
791
791
|
extern VALUE Image_add_profile(VALUE, VALUE);
|
792
792
|
extern VALUE Image_affine_transform(VALUE, VALUE);
|
793
|
-
extern VALUE Image_affinity(int, VALUE *, VALUE);
|
794
793
|
extern VALUE Image_alpha(int, VALUE *, VALUE);
|
795
794
|
extern VALUE Image_alpha_q(VALUE);
|
796
795
|
extern VALUE Image_aref(VALUE, VALUE);
|
@@ -934,6 +933,7 @@ extern VALUE Image_read(VALUE, VALUE);
|
|
934
933
|
extern VALUE Image_read_inline(VALUE, VALUE);
|
935
934
|
extern VALUE Image_recolor(VALUE, VALUE);
|
936
935
|
extern VALUE Image_reduce_noise(VALUE, VALUE);
|
936
|
+
extern VALUE Image_remap(int, VALUE *, VALUE);
|
937
937
|
extern VALUE Image_resize(int, VALUE *, VALUE);
|
938
938
|
extern VALUE Image_resize_bang(int, VALUE *, VALUE);
|
939
939
|
extern VALUE Image_roll(VALUE, VALUE, VALUE);
|