Changed ImageStruct to create image and timestamp from a byte array