"-map type display image using this Standard Colormap",
"-matte store matte channel if the image has one",
"-monitor monitor progress",
+ "-nostdin do not try to open stdin",
"-page geometry size and location of an image canvas",
"-profile filename add, delete, or apply an image profile",
"-quality value JPEG/MIFF/PNG compression level",
MagickBooleanType
fire,
+ nostdin,
pend,
respect_parenthesis;
option=(char *) NULL;
pend=MagickFalse;
respect_parenthesis=MagickFalse;
+ nostdin=MagickFalse;
resource_database=(XrmDatabase) NULL;
(void) ResetMagickMemory(&resource_info,0,sizeof(resource_info));
server_name=(char *) NULL;
ThrowDisplayException(OptionError,"MissingArgument",option);
server_name=argv[i];
}
+ if (LocaleCompare("nostdin",option+1) == 0)
+ nostdin=MagickTrue;
if ((LocaleCompare("help",option+1) == 0) ||
(LocaleCompare("-help",option+1) == 0))
return(DisplayUsage());
if (image != (Image *) NULL)
break;
else
- if (isatty(STDIN_FILENO) != MagickFalse)
+ if (isatty(STDIN_FILENO) != MagickFalse || (nostdin != MagickFalse))
option="logo:";
else
option="-";
break;
if (LocaleCompare("normalize",option+1) == 0)
break;
+ if (LocaleCompare("nostdin",option+1) == 0)
+ break;
ThrowDisplayException(OptionError,"UnrecognizedOption",option);
}
case 'p':