FIX: Handle more than 8-bit images in rich display.
Merge pull request #95 from danielballan/16bit-bug

FIX : Handle more than 8-bit images in rich display.