LibraryLink`
LibraryLink`

MImage_alphaChannelQ (C Function)

gives True if MImage has an alpha channel, and False otherwise.

Details

  • Used in C/C++ code in a library function called from the Wolfram Language.

Examples

Basic Examples  (1)

This checks if an MImage has an alpha channel:

MImage I0;
mbool alphaQ;
...
alphaQ = libData->MImage_alphaChannelQ(I0);