ext/RMagick/rmutil.c in rmagick-2.7.2 vs ext/RMagick/rmutil.c in rmagick-2.8.0
- old
+ new
@@ -1,6 +1,6 @@
-/* $Id: rmutil.c,v 1.171 2008/11/13 00:02:22 rmagick Exp $ */
+/* $Id: rmutil.c,v 1.172 2008/11/15 21:30:51 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2008 by Timothy P. Hunter
| Name: rmutil.c
| Author: Tim Hunter
| Purpose: Utility functions for RMagick
@@ -3475,15 +3475,10 @@
if (option)
{
image->border_color = info->border_color;
}
- if (info->colors != 0)
- {
- image->colors = info->colors;
- }
-
if (info->colorspace != UndefinedColorspace)
{
image->colorspace = info->colorspace;
}
@@ -3560,18 +3555,24 @@
if (info->quality != 0UL)
{
image->quality = info->quality;
}
+ option = GetImageOption(info, "scene");
+ if (option)
+ {
+ image->scene = info->scene;
+ }
+
#if defined(HAVE_ST_TILE_OFFSET)
option = GetImageOption(info, "tile-offset");
if (option)
{
(void)ParseAbsoluteGeometry(option, &image->tile_offset);
}
#endif
- option = GetImageOption(info, "transparent-color");
+ option = GetImageOption(info, "transparent");
if (option)
{
image->transparent_color = info->transparent_color;
}