Create from a raw RGB pixel buffer (RGBRGBRGB…). data.length must equal nx * ny * 3.
See Implementation
Create from a raw RGB pixel buffer (RGBRGBRGB…). data.length must equal nx * ny * 3.