constructor(data, width, height, channels) {
        this.data = data;
        this.width = width;
        this.height = height;
        this.channels = channels;
    }
Create a new `RawImage` object.
@param {Uint8ClampedArray|Uint8Array} data The pixel data.
@param {number} width The width of the image.
@param {number} height The height of the image.
@param {1|2|3|4} channels The number of channels.