got it working with imageio-generic library