Could it be possible to read altogether image_data + image_id from LimaDataView.get_image(-1)
I could cheat by using a second call to LimaDataView.last_index
, but this values will not be synchronized.
Or using first LimaDataView.last_index
, and use the result to read the image, but it will not be the last image. I don't know if it could be a problem?
Maybe, a get_last_image
could be convenient for this use case.
And i am using the from_stream
mode.