magickNextImage method

bool magickNextImage()

MagickNextImage() sets the next image in the wand as the current image. It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty). It will return false when no more images are left to be returned which happens when the wand is empty, or the current image is the last image. When the above condition (end of image list) is reached, the iterator is automatically set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again). You can jump to this condition immediately using MagickSetLastIterator().

Implementation

bool magickNextImage() =>
    _magickWandBindings.MagickNextImage(_wandPtr).toBool();