Method CreateRgbDataFromPtr
CreateRgbDataFromPtr(int, int, IntPtr)
Creates array of RGBValue with the specified size and copies
pixel data from the source
pointer.
public static RGBValue[] CreateRgbDataFromPtr(int width, int height, IntPtr source)
Parameters
width
intImage width.
height
intImage height.
source
nintPointer to the pixel data (array of RGBValue).
Returns
- RGBValue[]