Use tobytes method on images for speedup.

Change images to RGB.
Reverse the data being sent to the OPC client.