anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::GetImageBits

GetImageBits returns a pointer on the raw data of the image.

C++
MU8* GetImageBits(void);

A pointer on the raw image pixels if the image is valid, NULL otherwise.

This buffer contains raw image pixels and cannot be deleted by user. The buffer pointer is valid until the current image is not modified (ConstructFromBuffer, new image size/format, VerticalFlip ...). The raw image bytes buffer is the fastest way to get/manipulate image pixels.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!