"-log format format of debugging information",
(char *) NULL
},
+ *operators[]=
+ {
+ "-brightness-contrast geometry",
+ " improve brightness / contrast of the image",
+ "-distort method args",
+ " distort images according to given method ad args",
+ "-level value adjust the level of image contrast",
+ "-resize geometry resize the image",
+ "-rotate degrees apply Paeth rotation to the image",
+ "-sigmoidal-contrast geometry",
+ " increase the contrast without saturating highlights or",
+ "-trim trim image edges"
+ },
+ *sequence_operators[]=
+ {
+ "-crop geometry cut out a rectangular region of the image"
+ },
*settings[]=
{
"-alpha option on, activate, off, deactivate, set, opaque, copy",
(void) printf("\nImage Settings:\n");
for (p=settings; *p != (char *) NULL; p++)
(void) printf(" %s\n",*p);
+ (void) printf("\nImage Operators:\n");
+ for (p=operators; *p != (char *) NULL; p++)
+ (void) printf(" %s\n",*p);
+ (void) printf("\nImage Sequence Operators:\n");
+ for (p=sequence_operators; *p != (char *) NULL; p++)
+ (void) printf(" %s\n",*p);
(void) printf("\nMiscellaneous Options:\n");
for (p=miscellaneous; *p != (char *) NULL; p++)
(void) printf(" %s\n",*p);
i++;
if (i == (ssize_t) argc)
ThrowCompareException(OptionError,"MissingArgument",option);
- type=ParseCommandOption(MagickAlphaChannelOptions,MagickFalse,argv[i]);
+ type=ParseCommandOption(MagickAlphaChannelOptions,MagickFalse,
+ argv[i]);
if (type < 0)
- ThrowCompareException(OptionError,"UnrecognizedAlphaChannelOption",
- argv[i]);
+ ThrowCompareException(OptionError,
+ "UnrecognizedAlphaChannelOption",argv[i]);
break;
}
if (LocaleCompare("authenticate",option+1) == 0)
}
ThrowCompareException(OptionError,"UnrecognizedOption",option);
}
+ case 'b':
+ {
+ if (LocaleCompare("brightness-contrast",option+1) == 0)
+ {
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
+ ThrowCompareException(OptionError,"UnrecognizedOption",option);
+ }
case 'c':
{
if (LocaleCompare("cache",option+1) == 0)
}
if (LocaleCompare("concurrent",option+1) == 0)
break;
+ if (LocaleCompare("crop",option+1) == 0)
+ {
+ if (*option == '+')
+ break;
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
ThrowCompareException(OptionError,"UnrecognizedOption",option)
}
case 'd':
dissimilarity_threshold=StringToDouble(argv[i],(char **) NULL);
break;
}
+ if (LocaleCompare("distort",option+1) == 0)
+ {
+ ssize_t
+ op;
+
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ op=ParseCommandOption(MagickDistortOptions,MagickFalse,argv[i]);
+ if (op < 0)
+ ThrowCompareException(OptionError,"UnrecognizedDistortMethod",
+ argv[i]);
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ break;
+ }
if (LocaleCompare("duration",option+1) == 0)
{
if (*option == '+')
}
case 'l':
{
+ if (LocaleCompare("level",option+1) == 0)
+ {
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
if (LocaleCompare("limit",option+1) == 0)
{
char
}
if (LocaleCompare("regard-warnings",option+1) == 0)
break;
+ if (LocaleCompare("resize",option+1) == 0)
+ {
+ if (*option == '+')
+ break;
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
if (LocaleNCompare("respect-parentheses",option+1,17) == 0)
{
respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse;
break;
}
+ if (LocaleCompare("rotate",option+1) == 0)
+ {
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
ThrowCompareException(OptionError,"UnrecognizedOption",option)
}
case 's':
ThrowCompareException(OptionError,"MissingArgument",option);
break;
}
+ if (LocaleCompare("sigmoidal-contrast",option+1) == 0)
+ {
+ i++;
+ if (i == (ssize_t) argc)
+ ThrowCompareException(OptionError,"MissingArgument",option);
+ if (IsGeometry(argv[i]) == MagickFalse)
+ ThrowCompareInvalidArgumentException(option,argv[i]);
+ break;
+ }
if (LocaleCompare("similarity-threshold",option+1) == 0)
{
if (*option == '+')
ThrowCompareException(OptionError,"MissingArgument",option);
break;
}
+ if (LocaleCompare("trim",option+1) == 0)
+ break;
if (LocaleCompare("type",option+1) == 0)
{
ssize_t
.SH DESCRIPTION
Image Settings:
\-alpha option on, activate, off, deactivate, set, opaque, copy
- \ transparent, extract, background, or shape
+ transparent, extract, background, or shape
\-authenticate value decrypt image with this password
\-colorspace type alternate image colorspace
\-compose operator set image composite operator
\-virtual-pixel method
virtual pixel access method
+Image Operators:
+ \-brightness-contrast geometry
+ improve brightness / contrast of the image
+ \-distort method args
+ distort images according to given method and args
+ \-level value adjust the level of image contrast
+ \-resize geometry resize the image
+ \-rotate degrees apply Paeth rotation to the image
+ \-sigmoidal-contrast geometry
+ lightness rescaling using sigmoidal contrast enhancement
+ \-trim trim image edges
+
+Image Sequence Operators:
+ \-crop geometry cut out a rectangular region of the image
+
Miscellaneous Options:
\-channel mask set the image channel mask
\-debug events display copious debugging information
\-intent type type of rendering intent when managing the image color
\-interlace type type of image interlacing scheme
\-interline-spacing value
- \ set the space between two text lines
+ set the space between two text lines
\-interpolate method pixel color interpolation method
\-interword-spacing value
- \ set the space between two words
+ set the space between two words
\-kerning value set the space between two letters
\-label string assign a label to an image
\-limit type value pixel cache resource limit
\-blur geometry reduce image noise and reduce detail levels
\-border geometry surround image with a border of color
\-brightness-contrast geometry
- \ improve brightness / contrast of the image
+ improve brightness / contrast of the image
\-canny geometry detect edges in the image
\-channel mask set the image channel mask
\-charcoal radius simulate a charcoal drawing
\-deskew threshold straighten an image
\-despeckle reduce the speckles within an image
\-distort method args
- \ distort images according to given method ad args
+ distort images according to given method and args
\-draw string annotate the image with a graphic primitive
\-edge radius apply a filter to detect edges in the image
\-emboss radius emboss an image
\-layers method optimize or compare image layers
\-level value adjust the level of image contrast
\-level-colors color,color
- \ level image with the given colors
+ level image with the given colors
\-linear-stretch geometry
improve contrast by `stretching with saturation' the intensity range
\-liquid-rescale geometry
\-sketch geometry simulate a pencil sketch
\-solarize threshold negate all pixels above the threshold level
\-sparse-color method args
- \ fill in a image based on a few color points
+ fill in a image based on a few color points
\-splice geometry splice the background color into the image
\-spread amount displace image pixels by a random amount
\-strip strip image of all profiles and comments