magickSetLastIterator method

void magickSetLastIterator()

Sets the wand iterator to the last image.

The last image is actually the current image, and the next use of magickPreviousImage() will not change this allowing this function to be used to iterate over the images in the reverse direction. In this sense it is more like magickResetIterator() than magickSetFirstIterator().

Typically this function is used before magickAddImage(), magickReadImage() functions to ensure' new images are appended to the very end of wand's image list.

Implementation

void magickSetLastIterator() =>
    _magickWandBindings.MagickSetLastIterator(_wandPtr);