ImageMagick: MagickCore, C API for ImageMagick: The Pixel FIFO
Author: ImageMagick Studio LLC
Description: ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Keywords: magickcore, c, api, for, imagemagick:, the, pixel, fifo, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert

ReadStream • WriteStream

## ReadStream

ReadStream() makes the image pixels available to a user supplied callback method immediately upon reading a scanline with the ReadImage() method.

The format of the ReadStream() method is:

    Image *ReadStream(const ImageInfo *image_info,StreamHandler stream,
      ExceptionInfo *exception)

A description of each parameter follows:

image_info
  the image info.
stream
  a callback method.
exception
  return any errors or warnings in this structure.

## WriteStream

WriteStream() makes the image pixels available to a user supplied callback method immediately upon writing pixel data with the WriteImage() method.

The format of the WriteStream() method is:

    MagickBooleanType WriteStream(const ImageInfo *image_info,Image *,
      StreamHandler stream)

A description of each parameter follows:

image_info
  the image info.
stream
  A callback method.