IFrame::getPtr Method

Returns a pointer to the image data.
Syntax:
virtual BYTE* getPtr() const = 0;
Return value:

A pointer to the image data.

Remarks:

Please note, that depending of the frame type, images may be stored bottom-up, therefore the pointer returned by this method may point to the first byte of the first pixel of the last line of the image.

You can get information about how to interpret the data by calling getFrameType.

The example Accessing an Image Buffer shows how to access the image data in image buffers.

See also: IFrame, IFrame::getFrameType

<< IFrame