Renamed mattecolor to alpha-color.
diff --git a/MagickWand/animate.c b/MagickWand/animate.c
index db8b9c8..a1833a7 100644
--- a/MagickWand/animate.c
+++ b/MagickWand/animate.c
@@ -209,8 +209,8 @@
(void) printf(
"resources as command line options: -background, -bordercolor,\n");
(void) printf(
- "-borderwidth, -font, -foreground, -iconGeometry, -iconic, -name,\n");
- (void) printf("-mattecolor, -shared-memory, or -title.\n");
+ "-alpha-color, -borderwidth, -font, -foreground, -iconGeometry,\n");
+ (void) printf("-iconic, -name, -shared-memory, or -title.\n");
(void) printf(
"\nBy default, the image format of 'file' is determined by its magic\n");
(void) printf(
@@ -467,6 +467,16 @@
argv[i]);
break;
}
+ if (LocaleCompare("alpha-color",option+1) == 0)
+ {
+ if (*option == '+')
+ break;
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowAnimateException(OptionError,"MissingArgument",option);
+ resource_info.alpha_color=argv[i];
+ break;
+ }
if (LocaleCompare("authenticate",option+1) == 0)
{
if (*option == '+')
@@ -1052,16 +1062,6 @@
}
if (LocaleCompare("matte",option+1) == 0)
break;
- if (LocaleCompare("mattecolor",option+1) == 0)
- {
- if (*option == '+')
- break;
- i++;
- if (i == (ssize_t) argc)
- ThrowAnimateException(OptionError,"MissingArgument",option);
- resource_info.matte_color=argv[i];
- break;
- }
if (LocaleCompare("monitor",option+1) == 0)
break;
if (LocaleCompare("monochrome",option+1) == 0)