PixelSyncIterator

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
*void

PixelSyncIterator

Post by *void »

PixelSyncIterator descriptions says: "syncs the pixel iterator"

My natural instinct is to ask
a) syncs it to what?
b) why did it get out of sync?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You must sync the pixel iterator after you update any pixels to ensure your updates are pushed to the pixel cache. See http://magick.imagemagick.org/script/architecture.php.
Post Reply