Cleaning up ImageData sending.
Adding way of creating a local image