rmagick 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rmagick might be problematic. Click here for more details.
- data/ChangeLog +3 -0
- data/README.html +387 -367
- data/README.txt +8 -8
- data/configure +132 -10
- data/configure.ac +9 -1
- data/doc/draw.html +2 -2
- data/ext/RMagick/MANIFEST +2 -1
- data/ext/RMagick/rmagick.h +9 -1
- data/ext/RMagick/rmagick_config.h.in +2 -0
- data/ext/RMagick/rmimage.c +22 -1
- data/ext/RMagick/rmmain.c +29 -12
- data/ext/RMagick/rmutil.c +46 -2
- data/rmagick.gemspec +1 -1
- metadata +3 -3
data/ext/RMagick/rmutil.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* $Id: rmutil.c,v 1.47
|
1
|
+
/* $Id: rmutil.c,v 1.47.2.1 2005/01/11 23:00:56 rmagick Exp $ */
|
2
2
|
/*============================================================================\
|
3
3
|
| Copyright (C) 2004 by Timothy P. Hunter
|
4
4
|
| Name: rmutil.c
|
@@ -1293,6 +1293,50 @@ ResolutionType_new(ResolutionType type)
|
|
1293
1293
|
return rm_enum_new(Class_ResolutionType, ID2SYM(rb_intern(name)), INT2FIX(type));
|
1294
1294
|
}
|
1295
1295
|
|
1296
|
+
/*
|
1297
|
+
External: OrientationType_new
|
1298
|
+
Purpose: Construct an OrientationType enum object for the specified value.
|
1299
|
+
*/
|
1300
|
+
#if defined(HAVE_IMAGE_ORIENTATION)
|
1301
|
+
VALUE
|
1302
|
+
OrientationType_new(OrientationType type)
|
1303
|
+
{
|
1304
|
+
const char *name;
|
1305
|
+
|
1306
|
+
switch(type)
|
1307
|
+
{
|
1308
|
+
default:
|
1309
|
+
case UndefinedOrientation:
|
1310
|
+
name = "UndefinedOrientation";
|
1311
|
+
break;
|
1312
|
+
case TopLeftOrientation:
|
1313
|
+
name = "TopLeftOrientation";
|
1314
|
+
break;
|
1315
|
+
case TopRightOrientation:
|
1316
|
+
name = "TopRightOrientation";
|
1317
|
+
break;
|
1318
|
+
case BottomRightOrientation:
|
1319
|
+
name = "BottomRightOrientation";
|
1320
|
+
break;
|
1321
|
+
case BottomLeftOrientation:
|
1322
|
+
name = "BottomLeftOrientation";
|
1323
|
+
break;
|
1324
|
+
case LeftTopOrientation:
|
1325
|
+
name = "LeftTopOrientation";
|
1326
|
+
break;
|
1327
|
+
case RightTopOrientation:
|
1328
|
+
name = "RightTopOrientation";
|
1329
|
+
break;
|
1330
|
+
case RightBottomOrientation:
|
1331
|
+
name = "RightBottomOrientation";
|
1332
|
+
break;
|
1333
|
+
case LeftBottomOrientation:
|
1334
|
+
name = "LeftBottomOrientation";
|
1335
|
+
break;
|
1336
|
+
}
|
1337
|
+
return rm_enum_new(Class_OrientationType, ID2SYM(rb_intern(name)), INT2FIX(type));
|
1338
|
+
}
|
1339
|
+
#endif
|
1296
1340
|
/*
|
1297
1341
|
External: Color_from_ColorInfo
|
1298
1342
|
Purpose: Convert a ColorInfo structure to a Magick::Color
|
@@ -2500,7 +2544,7 @@ magick_error_handler(
|
|
2500
2544
|
{
|
2501
2545
|
char msg[1024];
|
2502
2546
|
|
2503
|
-
if (severity
|
2547
|
+
if (severity >= ErrorException)
|
2504
2548
|
{
|
2505
2549
|
#if defined(HAVE_SNPRINTF)
|
2506
2550
|
snprintf(msg, sizeof(msg)-1,
|
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.7.
|
4
|
+
s.version = "1.7.2"
|
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.8.3
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rmagick
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.7.
|
7
|
-
date:
|
6
|
+
version: 1.7.2
|
7
|
+
date: 2005-02-23
|
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
|
@@ -40,11 +40,11 @@ files:
|
|
40
40
|
- post-clean.rb
|
41
41
|
- post-install.rb
|
42
42
|
- post-setup.rb
|
43
|
+
- rmagick.gemspec
|
43
44
|
- uninstall.rb
|
44
45
|
- examples
|
45
46
|
- lib
|
46
47
|
- configure
|
47
|
-
- rmagick.gemspec
|
48
48
|
- doc/css
|
49
49
|
- doc/ex
|
50
50
|
- doc/comtasks.html
|