ImageMagick: MagickWand, C API for ImageMagick: Command-line Interface
Author: ImageMagick Studio LLC
Description: ImageMagick is a software suite to create, edit, compose, or convert bitmap images in a variety of formats. Use ImageMagick to scale, rotate, shear, distort and transform images.
Keywords: magickwc, api, for, imagemagick:, command-line, interface, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing

Unix
Mac OS X
Windows
Processing
Options
Usage
MagickWand
MagickCore
PerlMagick
Magick++
Unix
Windows
Links

# Module mogrify Methods

## MagickCommandGenesis

MagickCommandGenesis() applies image processing options to an image as prescribed by command line options.

The format of the MagickCommandGenesis method is:

      MagickBooleanType MagickCommandGenesis(ImageInfo *image_info,
        MagickCommand command,int argc,char **argv,char **metadata,
        ExceptionInfo *exception)

A description of each parameter follows:

##### image_info

the image info.

##### command

Choose from ConvertImageCommand, IdentifyImageCommand, MogrifyImageCommand, CompositeImageCommand, CompareImageCommand, ConjureImageCommand, StreamImageCommand, ImportImageCommand, DisplayImageCommand, or AnimateImageCommand.

##### argc

Specifies a pointer to an integer describing the number of elements in the argument vector.

##### argv

Specifies a pointer to a text array containing the command line arguments.

##### metadata

any metadata is returned here.

##### exception

return any errors or warnings in this structure.

Discourse Server • Studio