public byte[] getBytes() { byte[] rgb = new byte[ByteLength]; SourceImage.CopyPixels(rgb, Stride, 0); return(rgb); }