ImageMagick: MagickWand, C API for ImageMagick: Pixel Iterator Methods
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: magickwc, api, for, imagemagick:, pixel, iterator, methods, ImageMagick, PerlMagick, Magick++, Image, Magick

## ClearPixelIterator ClearPixelIterator() clear resources associated with a PixelIterator. The format of the ClearPixelIterator method is:
      PixelIterator *ClearPixelIterator(PixelIterator *iterator)
A description of each parameter follows: #### iterator The pixel iterator. ## DestroyPixelIterator DestroyPixelIterator() deallocates resources associated with a PixelIterator. The format of the DestroyPixelIterator method is:
      PixelIterator *DestroyPixelIterator(PixelIterator *iterator)
A description of each parameter follows: #### iterator The pixel iterator. ## IsPixelIterator IsPixelIterator() returns MagickTrue if the iterator is verified as a pixel iterator. The format of the IsPixelIterator method is:
      MagickBooleanType IsPixelIterator(const PixelIterator *iterator)
A description of each parameter follows: #### iterator The magick iterator. ## NewPixelIterator NewPixelIterator() returns a new pixel iterator. The format of the NewPixelIterator method is:
      PixelIterator NewPixelIterator(MagickWand *wand)
A description of each parameter follows: #### wand The magick wand. ## PixelClearIteratorException PixelClearIteratorException() clear any exceptions associated with the iterator. The format of the PixelClearIteratorException method is:
      MagickBooleanType PixelClearIteratorException(PixelIterator *wand)
A description of each parameter follows: #### wand The pixel wand. ## NewPixelRegionIterator NewPixelRegionIterator() returns a new pixel iterator. The format of the NewPixelRegionIterator method is:
      PixelIterator NewPixelRegionIterator(MagickWand *wand,const long x,
        const long y,const unsigned long columns,const unsigned long rows,
        const MagickBooleanType modify)
A description of each parameter follows: #### wand The magick wand. #### x,y,columns,rows These values define the perimeter of a region of pixels. ## PixelGetIteratorException PixelGetIteratorException() returns the severity, reason, and description of any error that occurs when using other methods in this API. The format of the PixelGetIteratorException method is:
      char *PixelGetIteratorException(const Pixeliterator *iterator,
        ExceptionType *severity)
A description of each parameter follows: #### iterator The pixel iterator. #### severity The severity of the error is returned here. ## PixelGetNextIteratorRow PixelGetNextIteratorRow() returns the next row as an array of pixel wands from the pixel iterator. The format of the PixelGetNextRow method is:
      PixelWand **PixelGetNextRow(PixelIterator *iterator,
        unsigned long *number_wands)
A description of each parameter follows: #### iterator The pixel iterator. #### number_wands The number of pixel wands. ## PixelGetPreviousIteratorRow PixelGetPreviousIteratorRow() returns the previous row as an array of pixel wands from the pixel iterator. The format of the PixelGetPreviousRow method is:
      PixelWand **PixelGetPreviousRow(PixelIterator *iterator,
        unsigned long *number_wands)
A description of each parameter follows: #### iterator The pixel iterator. #### number_wands The number of pixel wands. ## PixelResetIterator PixelResetIterator() resets the pixel iterator. Use it in conjunction with PixelGetNextPixel() to iterate over all the pixels in a pixel container. The format of the PixelResetIterator method is:
      void PixelResetIterator(PixelIterator *iterator)
A description of each parameter follows: #### iterator The pixel iterator. ## PixelSetFirstIteratorRow PixelSetFirstIteratorRow() sets the pixel iterator to the first pixel row. The format of the PixelSetFirstIteratorRow method is:
      void PixelSetFirstIteratorRow(PixelIterator *iterator)
A description of each parameter follows: #### iterator The magick iterator. ## PixelSetIteratorRow PixelSetIteratorRow() set the pixel iterator row. The format of the PixelSetIteratorRow method is:
      MagickBooleanType PixelSetIteratorRow(PixelIterator *iterator,
        const long row)
A description of each parameter follows: #### iterator The pixel iterator. ## PixelSetLastIteratorRow PixelSetLastIteratorRow() sets the pixel iterator to the last pixel row. The format of the PixelSetLastIteratorRow method is:
      void PixelSetLastIteratorRow(PixelIterator *iterator)
A description of each parameter follows: #### iterator The magick iterator. ## PixelSyncIterator PixelSyncIterator() syncs the pixel iterator. The format of the PixelSyncIterator method is:
      MagickBooleanType PixelSyncIterator(PixelIterator *iterator)
A description of each parameter follows: #### iterator The pixel iterator. |

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