ReadImageInfo fails on slicer output
Description
The slicer output cannot be passed to the ReadImageInfo
application.
To reproduce
import pyotb
raster="/home/remi/data/classif.tif"
image = pyotb.DynamicConvert(raster)
# test with slicer
subset_1 = image[0:100,0:100,:]
infos_1 = pyotb.ReadImageInfo(subset_1) # Fails
# test with extract ROI
subset_2 = pyotb.ExtractROI({"in": image, "startx": 0, "starty": 0, "sizex": 100, "sizey": 100})
infos_2 = pyotb.ReadImageInfo(subset_2) # Succeed