added support (untested) for Short and Color images