ImageMagick: MagickCore, C API for ImageMagick: Monitor the Progress of an Image Operation
Author: ImageMagick Studio LLC
Description: ImageMagick (TM) is a free software suite to create, edit and compose bitmap images. It can read, convert and write images in a large variety of formats. Images can be cropped, colors can be changed, various effects can be applied, images can be rotated and combined, and text, lines, polygons, ellipses and Bézier curves can be added to images and stretched and rotated. ImageMagick is free software: it is delivered with full source code and can be freely used, copied, modified and distributed. Its license is compatible with the GPL. It runs on all major operating systems. Most of the functionality of ImageMagick can be used interactively from the command line; more often, however, the features are used from programs written in the programming languages Perl, C, C++, Python, PHP, Ruby or Java, for which ready-made ImageMagick interfaces (PerlMagick, Magick++, PythonMagick, MagickWand for PHP, RubyMagick, and JMagick) are available. This makes it possible to modify or create images automa [cell cut: 1159 characters, first 1000 kept]
Keywords: magickcore, c, api, for, imagemagick:, monitor, the, progress, of, an, image, operation, ImageMagick, PerlMagick, Magick++, Image, Magick

## SetImageProgressMonitor SetImageProgressMonitor() sets the image progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
          MagickBooleanType MagickProgressMonitor(const char *text,
      const MagickOffsetType offset,const MagickSizeType span,
      void *client_data)
If the progress monitor returns MagickFalse, the current operation is interrupted. The format of the SetImageProgressMonitor method is:
      MagickProgressMonitor SetImageProgressMonitor(Image *image,
        const MagickProgressMonitor progress_monitor,void *client_data)
A description of each parameter follows: #### image The image. #### progress_monitor Specifies a pointer to a method to monitor progress of an image operation. #### client_data Specifies a pointer to any client data. ## SetImageInfoProgressMonitor SetImageInfoProgressMonitor() sets the image_info progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
          MagickBooleanType MagickProgressMonitor(const char *text,
      const MagickOffsetType offset,const MagickSizeType span,
      void *client_data)
If the progress monitor returns MagickFalse, the current operation is interrupted. The format of the SetImageInfoProgressMonitor method is:
      MagickProgressMonitor SetImageInfoProgressMonitor(ImageInfo *image_info,
        const MagickProgressMonitor progress_monitor,void *client_data)
A description of each parameter follows: #### image_info The image info. #### progress_monitor Specifies a pointer to a method to monitor progress of an image operation. #### client_data Specifies a pointer to any client data. |

Discourse Server | Mailing Lists | Image Gallery | ImageMagick Studio
© 1999-2006 ImageMagick Studio LLC