Method CreateAlphaDataFromPtr
CreateAlphaDataFromPtr(int, int, nint)
Creates array of alpha components with the specified size and copies
alpha component data from the source pointer.
public static byte[] CreateAlphaDataFromPtr(int width, int height, nint source)
Parameters
widthintImage width.
heightintImage height.
sourcenintPointer to the alpha component data (array of bytes).
Returns
- byte[]