readImage does not give access to frame metadata
With the current API readImage()
return the image for given idx as a DATA_ARRAY
. With frame_number== -1
, the last image is returned, but the image is stripped from its metadata (like the usefull frame idx).
Introduce a new version of the data encoding with the metadata.
Discussed with @valentin.valls