rmagick 1.15.6 → 1.15.7
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 +5 -0
- data/Makefile.in +3 -2
- data/README.html +8 -8
- data/README.txt +6 -6
- data/configure +12 -11
- data/configure.ac +2 -2
- 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/rmagick.h +2 -1
- data/ext/RMagick/rmagick_config.h.in +2 -0
- data/ext/RMagick/rmmain.c +4 -3
- data/ext/RMagick/rmutil.c +42 -2
- data/rmagick.gemspec +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
RMagick 1.15.7
|
2
|
+
o Fix bug #11033, make distclean misses some files (bug report from Lucas
|
3
|
+
Nussbaum)
|
4
|
+
o Work around SetMagickRegistry problem in ImageMagick 6.3.4-7
|
5
|
+
|
1
6
|
RMagick 1.15.6
|
2
7
|
o Fix bug #10070, memory leak in Draw#get_type_metrics,
|
3
8
|
Draw#get_multiline_type_metrics, Draw#annotate (bug report from Sinclair
|
data/Makefile.in
CHANGED
@@ -23,9 +23,10 @@ clean: .config
|
|
23
23
|
|
24
24
|
distclean: .config
|
25
25
|
$(RUBY) setup.rb clean
|
26
|
-
rm -f Makefile ext/RMagick/extconf.rb metaconfig
|
27
|
-
rm -f ext/RMagick/Makefile config.cache config.log
|
26
|
+
rm -f Makefile ext/RMagick/extconf.rb metaconfig ext/RMagick/rmagick_config.h
|
27
|
+
rm -f ext/RMagick/Makefile config.cache config.log config.status
|
28
28
|
rm -rf autom4te.cache
|
29
|
+
rm -f doc/ex/.examples
|
29
30
|
|
30
31
|
uninstall: .config
|
31
32
|
$(RUBY) uninstall.rb $(RUBY_CONFIG_OPTS)
|
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.7 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.7 README</h1>
|
10
10
|
|
11
|
-
<h2>
|
11
|
+
<h2>06/09/07</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="m&#
|
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.7.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.7/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.7/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.7/./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.7 README
|
2
2
|
================================
|
3
|
-
|
3
|
+
06/09/07
|
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.7.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.7/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.7/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.7/./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.59 for RMagick 1.15.
|
3
|
+
# Generated by GNU Autoconf 2.59 for RMagick 1.15.7.
|
4
4
|
#
|
5
5
|
# Report bugs to <rmagick@rubyforge.org>.
|
6
6
|
#
|
@@ -268,9 +268,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
268
268
|
|
269
269
|
# Identity of this package.
|
270
270
|
PACKAGE_NAME='RMagick'
|
271
|
-
PACKAGE_TARNAME='RMagick-1.15.
|
272
|
-
PACKAGE_VERSION='1.15.
|
273
|
-
PACKAGE_STRING='RMagick 1.15.
|
271
|
+
PACKAGE_TARNAME='RMagick-1.15.7.tar.gz'
|
272
|
+
PACKAGE_VERSION='1.15.7'
|
273
|
+
PACKAGE_STRING='RMagick 1.15.7'
|
274
274
|
PACKAGE_BUGREPORT='rmagick@rubyforge.org'
|
275
275
|
|
276
276
|
# Factoring default headers for most tests.
|
@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then
|
|
779
779
|
# Omit some internal or obsolete options to make the list less imposing.
|
780
780
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
781
781
|
cat <<_ACEOF
|
782
|
-
\`configure' configures RMagick 1.15.
|
782
|
+
\`configure' configures RMagick 1.15.7 to adapt to many kinds of systems.
|
783
783
|
|
784
784
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
785
785
|
|
@@ -836,7 +836,7 @@ fi
|
|
836
836
|
|
837
837
|
if test -n "$ac_init_help"; then
|
838
838
|
case $ac_init_help in
|
839
|
-
short | recursive ) echo "Configuration of RMagick 1.15.
|
839
|
+
short | recursive ) echo "Configuration of RMagick 1.15.7:";;
|
840
840
|
esac
|
841
841
|
cat <<\_ACEOF
|
842
842
|
|
@@ -983,7 +983,7 @@ fi
|
|
983
983
|
test -n "$ac_init_help" && exit 0
|
984
984
|
if $ac_init_version; then
|
985
985
|
cat <<\_ACEOF
|
986
|
-
RMagick configure 1.15.
|
986
|
+
RMagick configure 1.15.7
|
987
987
|
generated by GNU Autoconf 2.59
|
988
988
|
|
989
989
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
@@ -997,7 +997,7 @@ cat >&5 <<_ACEOF
|
|
997
997
|
This file contains any messages produced by compilers while
|
998
998
|
running configure, to aid debugging if configure makes a mistake.
|
999
999
|
|
1000
|
-
It was created by RMagick $as_me 1.15.
|
1000
|
+
It was created by RMagick $as_me 1.15.7, which was
|
1001
1001
|
generated by GNU Autoconf 2.59. Invocation command line was
|
1002
1002
|
|
1003
1003
|
$ $0 $@
|
@@ -6323,7 +6323,8 @@ done
|
|
6323
6323
|
|
6324
6324
|
|
6325
6325
|
|
6326
|
-
|
6326
|
+
|
6327
|
+
for ac_func in SetImageInfoFile SetImageOption SetImageRegistry SetImageStorageClass
|
6327
6328
|
do
|
6328
6329
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6329
6330
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
@@ -10696,7 +10697,7 @@ _ASBOX
|
|
10696
10697
|
} >&5
|
10697
10698
|
cat >&5 <<_CSEOF
|
10698
10699
|
|
10699
|
-
This file was extended by RMagick $as_me 1.15.
|
10700
|
+
This file was extended by RMagick $as_me 1.15.7, which was
|
10700
10701
|
generated by GNU Autoconf 2.59. Invocation command line was
|
10701
10702
|
|
10702
10703
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -10756,7 +10757,7 @@ _ACEOF
|
|
10756
10757
|
|
10757
10758
|
cat >>$CONFIG_STATUS <<_ACEOF
|
10758
10759
|
ac_cs_version="\\
|
10759
|
-
RMagick config.status 1.15.
|
10760
|
+
RMagick config.status 1.15.7
|
10760
10761
|
configured by $0, generated by GNU Autoconf 2.59,
|
10761
10762
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
10762
10763
|
|
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.7, rmagick@rubyforge.org, RMagick-1.15.7.tar.gz)
|
5
5
|
echo "Configuring ${PACKAGE_STRING}"
|
6
6
|
|
7
7
|
AC_CONFIG_HEADER([ext/RMagick/rmagick_config.h])
|
@@ -161,7 +161,7 @@ AC_CHECK_FUNCS([QuantumOperatorRegionImage RadialBlurImage RadialBlurImageChanne
|
|
161
161
|
AC_CHECK_FUNCS([RandomChannelThresholdImage RandomThresholdImageChannel])
|
162
162
|
AC_CHECK_FUNCS([RecolorImage SeparateImageChannel SepiaToneImage])
|
163
163
|
AC_CHECK_FUNCS([SetImageBackgroundColor SetImageChannelDepth SetImageColorspace SetImageExtent])
|
164
|
-
AC_CHECK_FUNCS([SetImageInfoFile SetImageOption SetImageStorageClass])
|
164
|
+
AC_CHECK_FUNCS([SetImageInfoFile SetImageOption SetImageRegistry SetImageStorageClass])
|
165
165
|
AC_CHECK_FUNCS([SetImageProgressMonitor ShadowImage SharpenImageChannel])
|
166
166
|
AC_CHECK_FUNCS([SigmoidalContrastImageChannel SketchImage SpliceImage StripImage])
|
167
167
|
AC_CHECK_FUNCS([ThresholdImageChannel TintImage TransposeImage TransverseImage UniqueImageColors])
|
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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: class Image (class and instance methods, part
|
10
10
|
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.7 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.7: 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.7 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.7: class Image (instance methods, part 3)</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 1.15.
|
54
|
+
<h6 id="header">RMagick 1.15.7 User's Guide and Reference</h6>
|
55
55
|
|
56
56
|
<div class="nav">
|
57
57
|
« <a href="image2.html">Prev</a> | <a href=
|
data/doc/imageattrs.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="generator" content=
|
7
7
|
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
|
8
8
|
|
9
|
-
<title>RMagick 1.15.
|
9
|
+
<title>RMagick 1.15.7: 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.7 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.7: 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.7 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.7 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.7</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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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.7: 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.7 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/rmagick.h
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmagick.h,v 1.152.2.
|
1
|
+
/* $Id: rmagick.h,v 1.152.2.4 2007/06/09 16:44:30 rmagick Exp $ */
|
2
2
|
/*=============================================================================
|
3
3
|
| Copyright (C) 2006 by Timothy P. Hunter
|
4
4
|
| Name: rmagick.h
|
@@ -357,6 +357,7 @@ EXTERN ID rm_ID_notify_observers; // "notify_observers"
|
|
357
357
|
EXTERN ID rm_ID_new; // "new"
|
358
358
|
EXTERN ID rm_ID_push; // "push"
|
359
359
|
EXTERN ID rm_ID_spaceship; // "<=>
|
360
|
+
EXTERN ID rm_ID__tmpnam_; // "_tmpnam"
|
360
361
|
EXTERN ID rm_ID_to_s; // "to_s"
|
361
362
|
EXTERN ID rm_ID_values; // "values"
|
362
363
|
EXTERN ID rm_ID_width; // "width"
|
@@ -215,6 +215,8 @@
|
|
215
215
|
/* Introduced in IM 6.2.1 */
|
216
216
|
#undef HAVE_SETIMAGEINFOFILE
|
217
217
|
#undef HAVE_SETIMAGEOPTION
|
218
|
+
/* Introduced in IM 6.3.4 */
|
219
|
+
#undef HAVE_SETIMAGEREGISTRY
|
218
220
|
/* Introduced in IM 6.1.0 */
|
219
221
|
#undef HAVE_SETIMAGEPROGRESSMONITOR
|
220
222
|
/* Introduced in IM 6.2.6 */
|
data/ext/RMagick/rmmain.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmmain.c,v 1.159.2.
|
1
|
+
/* $Id: rmmain.c,v 1.159.2.2 2007/06/09 16:45:25 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2007 by Timothy P. Hunter
|
4
4
|
| Name: rmmain.c
|
@@ -463,7 +463,7 @@ monitor_handler(
|
|
463
463
|
|
464
464
|
exception = exception; // defeat "never referenced" message from icc
|
465
465
|
|
466
|
-
if (rb_cvar_defined(Module_Magick, Magick_Monitor))
|
466
|
+
if (rb_cvar_defined(Module_Magick, Magick_Monitor) == Qtrue)
|
467
467
|
{
|
468
468
|
args[0] = rb_str_new2(text);
|
469
469
|
// Convert these possibly-64-bit types to 32-bit types that
|
@@ -622,6 +622,7 @@ Init_RMagick(void)
|
|
622
622
|
rm_ID_new = rb_intern("new");
|
623
623
|
rm_ID_push = rb_intern("push");
|
624
624
|
rm_ID_spaceship = rb_intern("<=>");
|
625
|
+
rm_ID__tmpnam_ = rb_intern("@@_tmpnam_");
|
625
626
|
rm_ID_to_s = rb_intern("to_s");
|
626
627
|
rm_ID_values = rb_intern("values");
|
627
628
|
rm_ID_width = rb_intern("width");
|
@@ -1936,7 +1937,7 @@ static void version_constants(void)
|
|
1936
1937
|
rb_define_const(Module_Magick, "Version", str);
|
1937
1938
|
|
1938
1939
|
sprintf(long_version,
|
1939
|
-
"This is %s ($Date: 2007/
|
1940
|
+
"This is %s ($Date: 2007/06/09 16:45:25 $) Copyright (C) 2007 by Timothy P. Hunter\n"
|
1940
1941
|
"Built with %s\n"
|
1941
1942
|
"Built for %s\n"
|
1942
1943
|
"Web page: http://rmagick.rubyforge.org\n"
|
data/ext/RMagick/rmutil.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmutil.c,v 1.90.2.
|
1
|
+
/* $Id: rmutil.c,v 1.90.2.3 2007/06/09 16:45:52 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2007 by Timothy P. Hunter
|
4
4
|
| Name: rmutil.c
|
@@ -2928,6 +2928,45 @@ StyleType_name(StyleType style)
|
|
2928
2928
|
void
|
2929
2929
|
rm_write_temp_image(Image *image, char *tmpnam)
|
2930
2930
|
{
|
2931
|
+
|
2932
|
+
#if defined(HAVE_SETIMAGEREGISTRY)
|
2933
|
+
MagickBooleanType okay;
|
2934
|
+
ExceptionInfo exception;
|
2935
|
+
volatile VALUE id_value;
|
2936
|
+
int id;
|
2937
|
+
|
2938
|
+
GetExceptionInfo(&exception);
|
2939
|
+
|
2940
|
+
|
2941
|
+
// 'id' is always the value of its previous use
|
2942
|
+
if (rb_cvar_defined(Module_Magick, rm_ID__tmpnam_) == Qtrue)
|
2943
|
+
{
|
2944
|
+
id_value = rb_cvar_get(Module_Magick, rm_ID__tmpnam_);
|
2945
|
+
id = FIX2INT(id_value);
|
2946
|
+
}
|
2947
|
+
else
|
2948
|
+
{
|
2949
|
+
id = 0;
|
2950
|
+
rb_define_class_variable(Module_Magick, "@@__tmpnam__", INT2FIX(id));
|
2951
|
+
}
|
2952
|
+
|
2953
|
+
id += 1;
|
2954
|
+
RUBY16(rb_cvar_set(Module_Magick, rm_ID__tmpnam_, INT2FIX(id));)
|
2955
|
+
RUBY18(rb_cvar_set(Module_Magick, rm_ID__tmpnam_, INT2FIX(id), 0);)
|
2956
|
+
|
2957
|
+
sprintf(tmpnam, "mpri:%d", id);
|
2958
|
+
|
2959
|
+
// Omit "mpri:" from filename to form the key
|
2960
|
+
okay = SetImageRegistry(ImageRegistryType, tmpnam+5, image, &exception);
|
2961
|
+
CHECK_EXCEPTION()
|
2962
|
+
DestroyExceptionInfo(&exception);
|
2963
|
+
if (!okay)
|
2964
|
+
{
|
2965
|
+
rb_raise(rb_eRuntimeError, "SetImageRegistry failed.");
|
2966
|
+
}
|
2967
|
+
|
2968
|
+
#else
|
2969
|
+
|
2931
2970
|
long registry_id;
|
2932
2971
|
|
2933
2972
|
registry_id = SetMagickRegistry(ImageRegistryType, image, sizeof(Image), &image->exception);
|
@@ -2936,8 +2975,9 @@ rm_write_temp_image(Image *image, char *tmpnam)
|
|
2936
2975
|
{
|
2937
2976
|
rb_raise(rb_eRuntimeError, "SetMagickRegistry failed.");
|
2938
2977
|
}
|
2939
|
-
|
2940
2978
|
sprintf(tmpnam, "mpri:%ld", registry_id);
|
2979
|
+
#endif
|
2980
|
+
|
2941
2981
|
}
|
2942
2982
|
|
2943
2983
|
/*
|
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.7"
|
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
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rmagick
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.15.
|
7
|
-
date: 2007-
|
6
|
+
version: 1.15.7
|
7
|
+
date: 2007-06-09 00:00:00 -04:00
|
8
8
|
summary: RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries.
|
9
9
|
require_paths:
|
10
10
|
- lib
|