/// <summary>
 /// Initializes a new instance of the <see cref="ImageReceivedEventArgs" /> class.
 /// </summary>
 /// <param name="response">The response.</param>
 internal ImageReceivedEventArgs(ExternalInterface.CameraFeedResponse response)
 {
     ImageId        = response.ImageId;
     ImageData      = response.Data.ToByteArray();
     ImageEncoding  = CameraComponent.MapImageEncoding(response.ImageEncoding);
     FrameTimestamp = response.FrameTimeStamp;
 }