This chapter describes functions that set the initial value of an image data buffer, copy data from one buffer to another, convert data type, and scale image data.
Note: All the data exchange and initialization functions support negative step sizes. Negative step sizes can be used to "flip" data copied from a source buffer to a destination buffer. This is a common requirement when displaying a BMP image. To flip an image horizontally, call the copy function with pSrc pointing to the last row of the source buffer, a negative srcStep, pDst pointing to the start of the destination buffer, and a positive dstStep.
This chapter contains the following function definitions.