rmagick 1.15.14 → 1.15.15
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 +4 -0
- data/README.html +8 -8
- data/README.txt +6 -6
- data/configure +11 -11
- data/configure.ac +1 -1
- data/doc/comtasks.html +2 -2
- data/doc/constants.html +2 -2
- 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/rmilist.c +5 -3
- data/ext/RMagick/rmimage.c +25 -24
- data/ext/RMagick/rminfo.c +5 -5
- data/ext/RMagick/rmutil.c +8 -5
- data/rmagick.gemspec +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
data/README.html
CHANGED
@@ -1,14 +1,14 @@
|
|
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 1.15.
|
4
|
+
<title>RMagick 1.15.15 README</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6
6
|
<meta name="GENERATOR" content="BlueCloth">
|
7
7
|
</head>
|
8
8
|
<body>
|
9
|
-
<h1>RMagick 1.15.
|
9
|
+
<h1>RMagick 1.15.15 README</h1>
|
10
10
|
|
11
|
-
<h2>
|
11
|
+
<h2>09/10/08</h2>
|
12
12
|
|
13
13
|
<h2>Table Of Contents</h2>
|
14
14
|
|
@@ -41,7 +41,7 @@ ImageMagick and GraphicsMagick image processing libraries.</p>
|
|
41
41
|
|
42
42
|
<p><strong>Author:</strong> Tim Hunter</p>
|
43
43
|
|
44
|
-
<p><strong>Email:</strong> <a href="ma&#
|
44
|
+
<p><strong>Email:</strong> <a href="mailto:rmagick@rubyforge.org">rmagick@rubyforge.org</a></p>
|
45
45
|
|
46
46
|
<p><strong>RubyForge:</strong> <a href="http://rubyforge.org/projects/rmagick/">http://rubyforge.org/projects/rmagick/</a></p>
|
47
47
|
|
@@ -228,7 +228,7 @@ addition to the regular options, there are a few RMagick-specific options:</p>
|
|
228
228
|
|
229
229
|
<h4 id="scripts">Running the <code>configure</code> and <code>make</code> scripts</h4>
|
230
230
|
|
231
|
-
<p>De-compress the RMagick-1.15.
|
231
|
+
<p>De-compress the RMagick-1.15.15.tar.gz archive and enter the top
|
232
232
|
directory. Then type:</p>
|
233
233
|
|
234
234
|
<pre><code>$ ./configure <configuration options>
|
@@ -249,9 +249,9 @@ $ make clean
|
|
249
249
|
|
250
250
|
<p>When make is running the examples, if you get a message like this:</p>
|
251
251
|
|
252
|
-
<pre><code>/home/you/RMagick-1.15.
|
252
|
+
<pre><code>/home/you/RMagick-1.15.15/lib/RMagick.rb:11:in `require': libMagick.so.0:
|
253
253
|
cannot open shared object file: No such file or directory -
|
254
|
-
/home/you/RMagick-1.15.
|
254
|
+
/home/you/RMagick-1.15.15/ext/RMagick/RMagick.so (LoadError)
|
255
255
|
</code></pre>
|
256
256
|
|
257
257
|
<p>you probably do not have the directory in which the ImageMagick or GraphicsMagick
|
@@ -271,7 +271,7 @@ systems, see the documentation for the dynamic loading facility.</p>
|
|
271
271
|
|
272
272
|
<p>When make is running the examples, if you get a message like this:</p>
|
273
273
|
|
274
|
-
<pre><code>hook /home/me/src/RMagick-1.15.
|
274
|
+
<pre><code>hook /home/me/src/RMagick-1.15.15/./post-setup.rb failed:
|
275
275
|
No such file or directory - "/tmp/rmagick6872.6"
|
276
276
|
</code></pre>
|
277
277
|
|
data/README.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
RMagick 1.15.
|
1
|
+
RMagick 1.15.15 README
|
2
2
|
================================
|
3
|
-
|
3
|
+
09/10/08
|
4
4
|
--------
|
5
5
|
|
6
6
|
Table Of Contents
|
@@ -196,7 +196,7 @@ addition to the regular options, there are a few RMagick-specific options:
|
|
196
196
|
|
197
197
|
<h4 id="scripts">Running the <code>configure</code> and <code>make</code> scripts</h4>
|
198
198
|
|
199
|
-
De-compress the RMagick-1.15.
|
199
|
+
De-compress the RMagick-1.15.15.tar.gz archive and enter the top
|
200
200
|
directory. Then type:
|
201
201
|
|
202
202
|
$ ./configure <configuration options>
|
@@ -214,9 +214,9 @@ The message can also refer to "libGraphicsMagick". Typically this message means
|
|
214
214
|
#### Cannot open shared object file
|
215
215
|
When make is running the examples, if you get a message like this:
|
216
216
|
|
217
|
-
/home/you/RMagick-1.15.
|
217
|
+
/home/you/RMagick-1.15.15/lib/RMagick.rb:11:in `require': libMagick.so.0:
|
218
218
|
cannot open shared object file: No such file or directory -
|
219
|
-
/home/you/RMagick-1.15.
|
219
|
+
/home/you/RMagick-1.15.15/ext/RMagick/RMagick.so (LoadError)
|
220
220
|
|
221
221
|
you probably do not have the directory in which the ImageMagick or GraphicsMagick
|
222
222
|
library is installed in your load path. An easy way to fix this is to define the
|
@@ -233,7 +233,7 @@ systems, see the documentation for the dynamic loading facility.
|
|
233
233
|
#### No such file or directory - "/tmp/rmagick6872.6"
|
234
234
|
When make is running the examples, if you get a message like this:
|
235
235
|
|
236
|
-
hook /home/me/src/RMagick-1.15.
|
236
|
+
hook /home/me/src/RMagick-1.15.15/./post-setup.rb failed:
|
237
237
|
No such file or directory - "/tmp/rmagick6872.6"
|
238
238
|
|
239
239
|
you probably do not have a temporary directory environment variable set. Set
|
data/configure
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Guess values for system-dependent variables and create Makefiles.
|
3
|
-
# Generated by GNU Autoconf 2.61 for RMagick 1.15.
|
3
|
+
# Generated by GNU Autoconf 2.61 for RMagick 1.15.15.
|
4
4
|
#
|
5
5
|
# Report bugs to <rmagick@rubyforge.org>.
|
6
6
|
#
|
@@ -573,9 +573,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
573
573
|
|
574
574
|
# Identity of this package.
|
575
575
|
PACKAGE_NAME='RMagick'
|
576
|
-
PACKAGE_TARNAME='RMagick-1.15.
|
577
|
-
PACKAGE_VERSION='1.15.
|
578
|
-
PACKAGE_STRING='RMagick 1.15.
|
576
|
+
PACKAGE_TARNAME='RMagick-1.15.15.tar.gz'
|
577
|
+
PACKAGE_VERSION='1.15.15'
|
578
|
+
PACKAGE_STRING='RMagick 1.15.15'
|
579
579
|
PACKAGE_BUGREPORT='rmagick@rubyforge.org'
|
580
580
|
|
581
581
|
# Factoring default headers for most tests.
|
@@ -1181,7 +1181,7 @@ if test "$ac_init_help" = "long"; then
|
|
1181
1181
|
# Omit some internal or obsolete options to make the list less imposing.
|
1182
1182
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1183
1183
|
cat <<_ACEOF
|
1184
|
-
\`configure' configures RMagick 1.15.
|
1184
|
+
\`configure' configures RMagick 1.15.15 to adapt to many kinds of systems.
|
1185
1185
|
|
1186
1186
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1187
1187
|
|
@@ -1229,7 +1229,7 @@ Fine tuning of the installation directories:
|
|
1229
1229
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1230
1230
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1231
1231
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1232
|
-
--docdir=DIR documentation root [DATAROOTDIR/doc/RMagick-1.15.
|
1232
|
+
--docdir=DIR documentation root [DATAROOTDIR/doc/RMagick-1.15.15.tar.gz]
|
1233
1233
|
--htmldir=DIR html documentation [DOCDIR]
|
1234
1234
|
--dvidir=DIR dvi documentation [DOCDIR]
|
1235
1235
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
@@ -1242,7 +1242,7 @@ fi
|
|
1242
1242
|
|
1243
1243
|
if test -n "$ac_init_help"; then
|
1244
1244
|
case $ac_init_help in
|
1245
|
-
short | recursive ) echo "Configuration of RMagick 1.15.
|
1245
|
+
short | recursive ) echo "Configuration of RMagick 1.15.15:";;
|
1246
1246
|
esac
|
1247
1247
|
cat <<\_ACEOF
|
1248
1248
|
|
@@ -1355,7 +1355,7 @@ fi
|
|
1355
1355
|
test -n "$ac_init_help" && exit $ac_status
|
1356
1356
|
if $ac_init_version; then
|
1357
1357
|
cat <<\_ACEOF
|
1358
|
-
RMagick configure 1.15.
|
1358
|
+
RMagick configure 1.15.15
|
1359
1359
|
generated by GNU Autoconf 2.61
|
1360
1360
|
|
1361
1361
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
@@ -1369,7 +1369,7 @@ cat >config.log <<_ACEOF
|
|
1369
1369
|
This file contains any messages produced by compilers while
|
1370
1370
|
running configure, to aid debugging if configure makes a mistake.
|
1371
1371
|
|
1372
|
-
It was created by RMagick $as_me 1.15.
|
1372
|
+
It was created by RMagick $as_me 1.15.15, which was
|
1373
1373
|
generated by GNU Autoconf 2.61. Invocation command line was
|
1374
1374
|
|
1375
1375
|
$ $0 $@
|
@@ -11578,7 +11578,7 @@ exec 6>&1
|
|
11578
11578
|
# report actual input values of CONFIG_FILES etc. instead of their
|
11579
11579
|
# values after options handling.
|
11580
11580
|
ac_log="
|
11581
|
-
This file was extended by RMagick $as_me 1.15.
|
11581
|
+
This file was extended by RMagick $as_me 1.15.15, which was
|
11582
11582
|
generated by GNU Autoconf 2.61. Invocation command line was
|
11583
11583
|
|
11584
11584
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -11627,7 +11627,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
|
11627
11627
|
_ACEOF
|
11628
11628
|
cat >>$CONFIG_STATUS <<_ACEOF
|
11629
11629
|
ac_cs_version="\\
|
11630
|
-
RMagick config.status 1.15.
|
11630
|
+
RMagick config.status 1.15.15
|
11631
11631
|
configured by $0, generated by GNU Autoconf 2.61,
|
11632
11632
|
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
11633
11633
|
|
data/configure.ac
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
# RMagick configure.ac
|
3
3
|
|
4
|
-
AC_INIT(RMagick, 1.15.
|
4
|
+
AC_INIT(RMagick, 1.15.15, rmagick@rubyforge.org, RMagick-1.15.15.tar.gz)
|
5
5
|
echo "Configuring ${PACKAGE_STRING}"
|
6
6
|
|
7
7
|
AC_CONFIG_HEADER([ext/RMagick/rmagick_config.h])
|
data/doc/comtasks.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
34
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
64
|
+
<h6 id="header">RMagick 1.15.15 User's Guide and Reference</h6>
|
65
65
|
|
66
66
|
<div class="nav">
|
67
67
|
« <a href="info.html">Prev</a> | <a href=
|
data/doc/draw.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
28
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
23
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: class Image (class and instance methods,
|
10
10
|
part 1)</title>
|
11
11
|
<meta http-equiv="Content-Type" content=
|
12
12
|
"text/html; charset=us-ascii" />
|
@@ -48,7 +48,7 @@ float: left;
|
|
48
48
|
</head>
|
49
49
|
|
50
50
|
<body>
|
51
|
-
<h6 id="header">RMagick 1.15.
|
51
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: class Image (instance methods, part 2)</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -47,7 +47,7 @@ td.ds {
|
|
47
47
|
</head>
|
48
48
|
|
49
49
|
<body>
|
50
|
-
<h6 id="header">RMagick 1.15.
|
50
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: class Image (instance methods, part
|
10
10
|
3)</title>
|
11
11
|
<meta http-equiv="Content-Type" content=
|
12
12
|
"text/html; charset=us-ascii" />
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</head>
|
53
53
|
|
54
54
|
<body>
|
55
|
-
<h6 id="header">RMagick 1.15.
|
55
|
+
<h6 id="header">RMagick 1.15.15 User's Guide and Reference</h6>
|
56
56
|
|
57
57
|
<div class="nav">
|
58
58
|
« <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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
28
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: ImageMagick/GraphicsMagick Conventions</title>
|
10
10
|
<meta http-equiv="Content-Type" content=
|
11
11
|
"text/html; charset=us-ascii" />
|
12
12
|
<meta name="GENERATOR" content="Quanta Plus" />
|
@@ -69,7 +69,7 @@
|
|
69
69
|
</head>
|
70
70
|
|
71
71
|
<body>
|
72
|
-
<h6 id="header">RMagick 1.15.
|
72
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15 User's Guide and
|
10
10
|
Reference</title>
|
11
11
|
<meta http-equiv="Content-Type" content=
|
12
12
|
"text/html; charset=us-ascii" />
|
@@ -107,7 +107,7 @@
|
|
107
107
|
|
108
108
|
<p id="magick">Ruby+ImageMagick<span class="tm">TM</span><br />
|
109
109
|
Ruby+GraphicsMagick<br />
|
110
|
-
Version 1.15.
|
110
|
+
Version 1.15.15</p>
|
111
111
|
|
112
112
|
<h1>User's Guide and Reference</h1>
|
113
113
|
|
@@ -316,7 +316,7 @@
|
|
316
316
|
|
317
317
|
<h3>About this document</h3>
|
318
318
|
|
319
|
-
<p>This document describes Version 1.15.
|
319
|
+
<p>This document describes Version 1.15.15 of RMagick.
|
320
320
|
It is divided into 4 parts. The first is this page. The second
|
321
321
|
part is a user's guide covering both RMagick and
|
322
322
|
ImageMagick/GraphicsMagick usage and conventions. The third part
|
data/doc/info.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
47
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
27
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: Magick Command Options and Their Equivalent
|
10
10
|
Methods</title>
|
11
11
|
<meta http-equiv="Content-Type" content=
|
12
12
|
"text/html; charset=us-ascii" />
|
@@ -70,7 +70,7 @@ td {
|
|
70
70
|
</head>
|
71
71
|
|
72
72
|
<body>
|
73
|
-
<h6 id="header">RMagick 1.15.
|
73
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
31
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
36
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
11
11
|
|
12
|
-
<title>RMagick 1.15.
|
12
|
+
<title>RMagick 1.15.15: 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 1.15.
|
26
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
31
|
+
<h6 id="header">RMagick 1.15.15 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 1st March 2005), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
30
|
+
<h6 id="header">RMagick 1.15.15 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 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.15: 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 1.15.
|
93
|
+
<h6 id="header">RMagick 1.15.15 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/rmilist.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmilist.c,v 1.46.2.1.2.
|
1
|
+
/* $Id: rmilist.c,v 1.46.2.1.2.3 2008/09/10 23:25:13 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmilist.c
|
@@ -491,7 +491,7 @@ ImageList_optimize_layers(VALUE self, VALUE method)
|
|
491
491
|
Notes: this simply calls ImageList.new() in RMagick.rb
|
492
492
|
*/
|
493
493
|
VALUE
|
494
|
-
rm_imagelist_new()
|
494
|
+
rm_imagelist_new(void)
|
495
495
|
{
|
496
496
|
return rb_funcall(Class_ImageList, rm_ID_new, 0);
|
497
497
|
}
|
@@ -710,9 +710,11 @@ ImageList_to_blob(VALUE self)
|
|
710
710
|
#else
|
711
711
|
blob = ImageToBlob(info, images, &length, &exception);
|
712
712
|
#endif
|
713
|
-
if (exception.severity
|
713
|
+
if (blob && exception.severity >= ErrorException)
|
714
714
|
{
|
715
715
|
magick_free((void*)blob);
|
716
|
+
blob = NULL;
|
717
|
+
length = 0;
|
716
718
|
}
|
717
719
|
rm_split(images);
|
718
720
|
CHECK_EXCEPTION()
|
data/ext/RMagick/rmimage.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmimage.c,v 1.192.2.5.2.
|
1
|
+
/* $Id: rmimage.c,v 1.192.2.5.2.7 2008/09/10 23:22:46 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmimage.c
|
@@ -3078,9 +3078,9 @@ Image_constitute(VALUE class, VALUE width_arg, VALUE height_arg
|
|
3078
3078
|
long map_l;
|
3079
3079
|
union
|
3080
3080
|
{
|
3081
|
-
|
3082
|
-
|
3083
|
-
|
3081
|
+
float *f;
|
3082
|
+
Quantum *i;
|
3083
|
+
void *v;
|
3084
3084
|
} pixels;
|
3085
3085
|
int type;
|
3086
3086
|
StorageType stg_type;
|
@@ -3113,12 +3113,12 @@ Image_constitute(VALUE class, VALUE width_arg, VALUE height_arg
|
|
3113
3113
|
pixel0 = rb_ary_entry(pixels_arg, 0);
|
3114
3114
|
if (TYPE(pixel0) == T_FLOAT)
|
3115
3115
|
{
|
3116
|
-
pixels.f = ALLOC_N(
|
3116
|
+
pixels.f = ALLOC_N(float, npixels);
|
3117
3117
|
stg_type = FloatPixel;
|
3118
3118
|
}
|
3119
3119
|
else if (TYPE(pixel0) == T_FIXNUM)
|
3120
3120
|
{
|
3121
|
-
pixels.i = ALLOC_N(
|
3121
|
+
pixels.i = ALLOC_N(Quantum, npixels);
|
3122
3122
|
stg_type = FIX_STG_TYPE;
|
3123
3123
|
}
|
3124
3124
|
else
|
@@ -3167,17 +3167,17 @@ Image_constitute(VALUE class, VALUE width_arg, VALUE height_arg
|
|
3167
3167
|
SetImageExtent(image, width, height);
|
3168
3168
|
(void) SetImageBackgroundColor(image);
|
3169
3169
|
|
3170
|
-
(void) ImportImagePixels(image, 0, 0, width, height, map, stg_type,
|
3170
|
+
(void) ImportImagePixels(image, 0, 0, width, height, map, stg_type, pixels.v);
|
3171
3171
|
rm_check_image_exception(image, DestroyOnError);
|
3172
3172
|
#else
|
3173
|
-
image = ConstituteImage(width, height, map, stg_type,
|
3173
|
+
image = ConstituteImage(width, height, map, stg_type, pixels.v, &exception);
|
3174
3174
|
rm_check_exception(&exception, image, DestroyOnError);
|
3175
3175
|
#endif
|
3176
3176
|
|
3177
3177
|
(void) DestroyExceptionInfo(&exception);
|
3178
3178
|
DestroyConstitute();
|
3179
3179
|
|
3180
|
-
xfree(
|
3180
|
+
xfree(pixels.v);
|
3181
3181
|
|
3182
3182
|
return rm_image_new(image);
|
3183
3183
|
}
|
@@ -3346,7 +3346,7 @@ Image_convolve(
|
|
3346
3346
|
GetExceptionInfo(&exception);
|
3347
3347
|
|
3348
3348
|
new_image = ConvolveImage(image, order, (double *)kernel, &exception);
|
3349
|
-
xfree((
|
3349
|
+
xfree((void *)kernel);
|
3350
3350
|
rm_check_exception(&exception, new_image, DestroyOnError);
|
3351
3351
|
|
3352
3352
|
(void) DestroyExceptionInfo(&exception);
|
@@ -3405,7 +3405,7 @@ Image_convolve_channel(
|
|
3405
3405
|
GetExceptionInfo(&exception);
|
3406
3406
|
|
3407
3407
|
new_image = ConvolveImageChannel(image, channels, order, (double *)kernel, &exception);
|
3408
|
-
xfree((
|
3408
|
+
xfree((void *)kernel);
|
3409
3409
|
rm_check_exception(&exception, new_image, DestroyOnError);
|
3410
3410
|
|
3411
3411
|
(void) DestroyExceptionInfo(&exception);
|
@@ -3753,9 +3753,9 @@ Image_dispatch(int argc, VALUE *argv, VALUE self)
|
|
3753
3753
|
ExceptionInfo exception;
|
3754
3754
|
union
|
3755
3755
|
{
|
3756
|
-
|
3757
|
-
|
3758
|
-
|
3756
|
+
Quantum *i;
|
3757
|
+
double *f;
|
3758
|
+
void *v;
|
3759
3759
|
} pixels;
|
3760
3760
|
|
3761
3761
|
if (argc < 5 || argc > 6)
|
@@ -3790,7 +3790,7 @@ Image_dispatch(int argc, VALUE *argv, VALUE self)
|
|
3790
3790
|
#else
|
3791
3791
|
DispatchImage
|
3792
3792
|
#endif
|
3793
|
-
(image, x, y, columns, rows, map, stg_type,
|
3793
|
+
(image, x, y, columns, rows, map, stg_type, pixels.v, &exception);
|
3794
3794
|
|
3795
3795
|
if (!okay)
|
3796
3796
|
{
|
@@ -3818,7 +3818,7 @@ Image_dispatch(int argc, VALUE *argv, VALUE self)
|
|
3818
3818
|
}
|
3819
3819
|
|
3820
3820
|
exit:
|
3821
|
-
xfree(
|
3821
|
+
xfree(pixels.v);
|
3822
3822
|
return pixels_ary;
|
3823
3823
|
}
|
3824
3824
|
|
@@ -4415,7 +4415,7 @@ Image_export_pixels(int argc, VALUE *argv, VALUE self)
|
|
4415
4415
|
okay = ExportImagePixels(image, x_off, y_off, cols, rows, map, QuantumPixel, (void *)pixels, &exception);
|
4416
4416
|
if (!okay)
|
4417
4417
|
{
|
4418
|
-
xfree((
|
4418
|
+
xfree((void *)pixels);
|
4419
4419
|
CHECK_EXCEPTION()
|
4420
4420
|
|
4421
4421
|
// Should never get here...
|
@@ -4430,7 +4430,7 @@ Image_export_pixels(int argc, VALUE *argv, VALUE self)
|
|
4430
4430
|
(void) rb_ary_push(ary, UINT2NUM((unsigned int)pixels[n]));
|
4431
4431
|
}
|
4432
4432
|
|
4433
|
-
xfree((
|
4433
|
+
xfree((Quantum *)pixels);
|
4434
4434
|
|
4435
4435
|
return ary;
|
4436
4436
|
|
@@ -4908,6 +4908,7 @@ Image_from_blob(VALUE class, VALUE blob_arg)
|
|
4908
4908
|
void *blob;
|
4909
4909
|
long length;
|
4910
4910
|
|
4911
|
+
class = class; // defeat gcc message
|
4911
4912
|
blob = (void *) STRING_PTR_LEN(blob_arg, length);
|
4912
4913
|
|
4913
4914
|
// Get a new Info object - run the parm block if supplied
|
@@ -5152,7 +5153,7 @@ Image_get_pixels(
|
|
5152
5153
|
VALUE rows_arg)
|
5153
5154
|
{
|
5154
5155
|
Image *image;
|
5155
|
-
PixelPacket *pixels;
|
5156
|
+
const PixelPacket *pixels;
|
5156
5157
|
ExceptionInfo exception;
|
5157
5158
|
long x, y;
|
5158
5159
|
unsigned long columns, rows;
|
@@ -5165,7 +5166,7 @@ Image_get_pixels(
|
|
5165
5166
|
columns = NUM2ULONG(cols_arg);
|
5166
5167
|
rows = NUM2ULONG(rows_arg);
|
5167
5168
|
|
5168
|
-
if ((x+columns) > image->columns || (y+rows) > image->rows
|
5169
|
+
if ((x+columns) > image->columns || (y+rows) > image->rows)
|
5169
5170
|
{
|
5170
5171
|
rb_raise(rb_eRangeError, "geometry (%lux%lu%+ld%+ld) exceeds image bounds"
|
5171
5172
|
, columns, rows, x, y);
|
@@ -5174,7 +5175,7 @@ Image_get_pixels(
|
|
5174
5175
|
// Cast AcquireImagePixels to get rid of the const qualifier. We're not going
|
5175
5176
|
// to change the pixels but I don't want to make "pixels" const.
|
5176
5177
|
GetExceptionInfo(&exception);
|
5177
|
-
pixels =
|
5178
|
+
pixels = AcquireImagePixels(image, x, y, columns, rows, &exception);
|
5178
5179
|
CHECK_EXCEPTION()
|
5179
5180
|
|
5180
5181
|
(void) DestroyExceptionInfo(&exception);
|
@@ -5622,7 +5623,7 @@ Image_inspect(VALUE self)
|
|
5622
5623
|
}
|
5623
5624
|
}
|
5624
5625
|
|
5625
|
-
assert(x < sizeof(buffer)-1);
|
5626
|
+
assert(x < ((int)sizeof(buffer)-1));
|
5626
5627
|
buffer[x] = '\0';
|
5627
5628
|
|
5628
5629
|
return rb_str_new2(buffer);
|
@@ -5867,7 +5868,7 @@ Image__load(VALUE class, VALUE str)
|
|
5867
5868
|
blob = STRING_PTR_LEN(str, length);
|
5868
5869
|
|
5869
5870
|
// Must be as least as big as the 1st 4 fields in DumpedImage
|
5870
|
-
if (length <= sizeof(DumpedImage)-MaxTextExtent)
|
5871
|
+
if (length <= (long)sizeof(DumpedImage)-MaxTextExtent)
|
5871
5872
|
{
|
5872
5873
|
rb_raise(rb_eTypeError, "image is invalid or corrupted (too short)");
|
5873
5874
|
}
|
@@ -5893,7 +5894,7 @@ Image__load(VALUE class, VALUE str)
|
|
5893
5894
|
mi.len = ((DumpedImage *)blob)->len;
|
5894
5895
|
|
5895
5896
|
// Must be bigger than the header
|
5896
|
-
if (length <= mi.len+sizeof(DumpedImage)-MaxTextExtent)
|
5897
|
+
if (length <= mi.len+((long)sizeof(DumpedImage))-MaxTextExtent)
|
5897
5898
|
{
|
5898
5899
|
rb_raise(rb_eTypeError, "image is invalid or corrupted (too short)");
|
5899
5900
|
}
|
data/ext/RMagick/rminfo.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rminfo.c,v 1.45.2.2.2.
|
1
|
+
/* $Id: rminfo.c,v 1.45.2.2.2.3 2008/09/10 23:22:46 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rminfo.c
|
@@ -386,7 +386,7 @@ Info_define(int argc, VALUE *argv, VALUE self)
|
|
386
386
|
rb_raise(rb_eArgError, "wrong number of arguments (%d for 2 or 3)", argc);
|
387
387
|
}
|
388
388
|
|
389
|
-
if (2 + format_l + key_l > sizeof(ckey))
|
389
|
+
if (2 + format_l + key_l > (int)sizeof(ckey))
|
390
390
|
{
|
391
391
|
rb_raise(rb_eArgError, "%.20s:%.20s not defined - format or key too long", format, key);
|
392
392
|
}
|
@@ -643,7 +643,7 @@ Info_dispose(VALUE self)
|
|
643
643
|
{
|
644
644
|
#if defined(HAVE_SETIMAGEOPTION)
|
645
645
|
Info *info;
|
646
|
-
int x;
|
646
|
+
unsigned int x;
|
647
647
|
ID dispose_id;
|
648
648
|
const char *dispose;
|
649
649
|
|
@@ -684,7 +684,7 @@ Info_dispose_eq(VALUE self, VALUE disp)
|
|
684
684
|
Info *info;
|
685
685
|
DisposeType dispose;
|
686
686
|
char *option;
|
687
|
-
int x;
|
687
|
+
unsigned int x;
|
688
688
|
|
689
689
|
Data_Get_Struct(self, Info, info);
|
690
690
|
|
@@ -1853,7 +1853,7 @@ Info_alloc(VALUE class)
|
|
1853
1853
|
Notes: takes no parameters, but runs the parm block if present
|
1854
1854
|
*/
|
1855
1855
|
VALUE
|
1856
|
-
rm_info_new()
|
1856
|
+
rm_info_new(void)
|
1857
1857
|
{
|
1858
1858
|
volatile VALUE info_obj;
|
1859
1859
|
|
data/ext/RMagick/rmutil.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmutil.c,v 1.90.2.3.2.
|
1
|
+
/* $Id: rmutil.c,v 1.90.2.3.2.7 2008/09/10 23:22:46 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2008 by Timothy P. Hunter
|
4
4
|
| Name: rmutil.c
|
@@ -353,6 +353,7 @@ check_num2dbl(VALUE obj)
|
|
353
353
|
static VALUE
|
354
354
|
rescue_not_dbl(VALUE ignored)
|
355
355
|
{
|
356
|
+
ignored = ignored; // defeat gcc message
|
356
357
|
return INT2FIX(0);
|
357
358
|
}
|
358
359
|
|
@@ -2717,12 +2718,12 @@ VALUE Enum_case_eq(VALUE self, VALUE other)
|
|
2717
2718
|
*/
|
2718
2719
|
VALUE Enum_type_initialize(VALUE self, VALUE sym, VALUE val)
|
2719
2720
|
{
|
2720
|
-
|
2721
|
+
VALUE super_argv[2];
|
2721
2722
|
volatile VALUE enumerators;
|
2722
2723
|
|
2723
2724
|
super_argv[0] = sym;
|
2724
2725
|
super_argv[1] = val;
|
2725
|
-
(void) rb_call_super(2,
|
2726
|
+
(void) rb_call_super(2, super_argv);
|
2726
2727
|
|
2727
2728
|
if (rb_cvar_defined(CLASS_OF(self), rm_ID_enumerators) != Qtrue)
|
2728
2729
|
{
|
@@ -3099,7 +3100,7 @@ rm_magick_error(const char *msg, const char *loc)
|
|
3099
3100
|
VALUE
|
3100
3101
|
ImageMagickError_initialize(int argc, VALUE *argv, VALUE self)
|
3101
3102
|
{
|
3102
|
-
|
3103
|
+
VALUE super_argv[1] = {(VALUE)0};
|
3103
3104
|
int super_argc = 0;
|
3104
3105
|
volatile VALUE extra = Qnil;
|
3105
3106
|
|
@@ -3116,7 +3117,7 @@ ImageMagickError_initialize(int argc, VALUE *argv, VALUE self)
|
|
3116
3117
|
rb_raise(rb_eArgError, "wrong number of arguments (%d for 0 to 2)", argc);
|
3117
3118
|
}
|
3118
3119
|
|
3119
|
-
(void) rb_call_super(super_argc,
|
3120
|
+
(void) rb_call_super(super_argc, super_argv);
|
3120
3121
|
(void) rb_iv_set(self, "@"MAGICK_LOC, extra);
|
3121
3122
|
|
3122
3123
|
|
@@ -3422,6 +3423,8 @@ MagickBooleanType rm_progress_monitor(
|
|
3422
3423
|
volatile VALUE rval;
|
3423
3424
|
volatile VALUE method, offset, span;
|
3424
3425
|
|
3426
|
+
tag = tag; // defeat gcc message
|
3427
|
+
|
3425
3428
|
#if defined(HAVE_LONG_LONG) // defined in Ruby's defines.h
|
3426
3429
|
offset = rb_ll2inum(of);
|
3427
3430
|
span = rb_ull2inum(sp);
|
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 = "1.15.
|
4
|
+
s.version = "1.15.15"
|
5
5
|
s.date = Date.today.to_s
|
6
6
|
s.summary = %q{RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries.}
|
7
7
|
s.description =<<DESCRIPTION
|
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: 1.15.
|
4
|
+
version: 1.15.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Hunter
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-09-10 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|