Method CreateAlphaDataFromPtr
CreateAlphaDataFromPtr(int, int, IntPtr)
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, IntPtr source)
Parameters
width
intImage width.
height
intImage height.
source
nintPointer to the alpha component data (array of bytes).
Returns
- byte[]