LibraryLink`
LibraryLink`MImage_clone (C Function)
is a library callback function that puts a clone of into
.
Details
- Used in C/C++ code in a library function called from the Wolfram Language.
- A nonzero error code value will be returned if image is not a valid MImage or if there is not sufficient memory.
- The destination
should either be null (0) or an MImage allocated with MImage_new2D or MImage_new3D.
- If
is null then a new MImage is created.
- If
is an allocated MImage then the data in
will be modified.