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