LibraryLink`
LibraryLink`

MImage_getRawData (C Function)

gets a void pointer to an array of the data elements of an MImage.

Details

  • Used in C/C++ code in a library function called from the Wolfram Language.
  • The array has a length equal to the flattened length.

Examples

Basic Examples  (1)

This gets a void pointer to the data elements of an MImage:

MImage I0;
void* data;
...
data = libData->MImage_getRawData(I0);