SetImageProgress • SetImageProgressMonitor • SetImageInfoProgressMonitor
SetImageProgress() returns the progress of an image processing operation.
The format of the SetImageProgress method is:
MagickBooleanType SetImageProgress(const char *text, const MagickOffsetType offset,const MagickSizeType extent)
A description of each parameter follows:
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 extent, 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:
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 extent, 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: