LibraryLink`
LibraryLink`

MImage_alphaChannelQ (C 函数)

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

更多信息

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

范例

基本范例  (1)

This checks if an MImage has an alpha channel:

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