Added support for 16bits int & 32 bits float images. fixes 21.